_Requestable

public protocol _Requestable : Configurable, ResponseSerializable

Represents an abstract _Requestable.

Instead implement Requestable, Downloadable, FileUploadable, DataUploadable, StreamUploadable, MultipartUplodable protocols.

  • path Default implementation

    The path relative to base URL.

    Default Implementation

    nil

    Declaration

    Swift

    var path: String? { get }
  • asUrlRequest() Extension method

    Creates a URLRequest to retrieve the contents of a URL based on the specified Requestable

    Declaration

    Swift

    func asUrlRequest() throws -> URLRequest

    Return Value

    The created URLRequest.