Infrastructure - Network - EndPoint
-
HTTP 요청 방법을 나타냄
See moreDeclaration
Swift
enum HTTPMethodType : String
-
응답을 반환하는 요청에 대한 엔드포인트를 나타낸다. ‘R'은 응답의 타입
- 이 클래스는 요청 경로, 헤더, 쿼리 매개변수, 본문 매개변수, 본문 인코딩, 응답 디코더 등의 속성을 가진다.
Declaration
Swift
class EndPoint<R> : ResponseRequestable
-
Declaration
Swift
protocol BodyEncoder
-
Declaration
Swift
struct JSONBodyEncoder : BodyEncoder
-
Declaration
Swift
struct AsciiBodyEncoder : BodyEncoder
-
HTTP 요청을 나타내는 프로토콜
- 경로, 메서드, 헤더, 쿼리 및 본문 매개변수와 같은 필요한 속성을 정의하며, URLRequest 객체를 생성하는 메서드를 포함한다.
Declaration
Swift
protocol RequestTable
-
Declaration
Swift
protocol ResponseRequestable : RequestTable
-
요청 생성 중 발생할 수 있는 오류를 나타내는 열거형이다.
See moreDeclaration
Swift
enum RequestGenerationError : Error