Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

ResponseSerializer

mattt edited this page Sep 18, 2020 · 2 revisions

ResponseSerializer

A serializer that can handle both data and download responses.

public protocol ResponseSerializer:​ DataResponseSerializerProtocol & DownloadResponseSerializerProtocol

Inheritance

DataResponseSerializerProtocol, DownloadResponseSerializerProtocol

Requirements

dataPreprocessor

DataPreprocessor used to prepare incoming Data for serialization.

var dataPreprocessor:​ DataPreprocessor

emptyRequestMethods

HTTPMethods for which empty response bodies are considered appropriate.

var emptyRequestMethods:​ Set<HTTPMethod>

emptyResponseCodes

HTTP response codes for which empty response bodies are considered appropriate.

var emptyResponseCodes:​ Set<Int>
Types
Protocols
Global Typealiases
Clone this wiki locally