Infrastructure - Network - EndPoint

End Point

Request Table

  • HTTP 요청을 나타내는 프로토콜

    • 경로, 메서드, 헤더, 쿼리 및 본문 매개변수와 같은 필요한 속성을 정의하며, URLRequest 객체를 생성하는 메서드를 포함한다.
    See more

    Declaration

    Swift

    protocol RequestTable

Response Request Table

  • 응답과 함께 오는 HTTP 요청을 나타내는 프로토콜이다.

    • Requestable 프롵콜을 확장하며, 응답 타입과 응답 디코더 속성을 추가한다.
    See more

    Declaration

    Swift

    protocol ResponseRequestable : RequestTable
  • 요청 생성 중 발생할 수 있는 오류를 나타내는 열거형이다.

    See more

    Declaration

    Swift

    enum RequestGenerationError : Error