-
Undocumented
Declaration
Swift
public private(set) var session: URLSessionProvider { get }
-
Undocumented
Declaration
Swift
public var url: URL
-
Undocumented
Declaration
Swift
public var pathPrefix: String?
-
Undocumented
Declaration
Swift
public init(url: URL, pathPrefix: String? = nil, session: URLSessionProvider = URLSession.shared)
-
Undocumented
Declaration
Swift
open func send<R>(_ request: R, receiveOn queue: DispatchQueue? = nil, callback: @escaping (Result<R.Response, Error>) -> Void) where R : Request
-
Undocumented
Declaration
Swift
open func send<Request>(_ request: Request, receiveOn queue: DispatchQueue? = nil, callback: @escaping (Result<Request.Response, Error>) -> Void) where Request : JSONBodyProvider, Request : JSONFormatProvider, Request : Request
-
Undocumented
Declaration
Swift
open func send<Request>(_ request: Request, receiveOn queue: DispatchQueue? = nil, callback: @escaping (Result<Request.Response, Error>) -> Void) where Request : FormURLEncodedBodyProvider, Request : FormURLEncodedFormatProvider, Request : Request
-
Undocumented
Declaration
Swift
open func send<Request>(_ request: Request, receiveOn queue: DispatchQueue? = nil, callback: @escaping (Result<Request.Response, Error>) -> Void) where Request : PlainBodyProvider, Request : PlainFormatProvider, Request : Request
-
send(_:
Asynchronous) Undocumented
Declaration
Swift
open func send<R>(_ request: R) async throws -> R.Response where R : Request
-
send(_:
Asynchronous) Undocumented
Declaration
Swift
open func send<Request>(_ request: Request) async throws -> Request.Response where Request : JSONBodyProvider, Request : JSONFormatProvider, Request : Request
-
send(_:
Asynchronous) Undocumented
Declaration
Swift
open func send<Request>(_ request: Request) async throws -> Request.Response where Request : FormURLEncodedBodyProvider, Request : FormURLEncodedFormatProvider, Request : Request
-
send(_:
Asynchronous) Undocumented
Declaration
Swift
open func send<Request>(_ request: Request) async throws -> Request.Response where Request : PlainBodyProvider, Request : PlainFormatProvider, Request : Request
-
Undocumented
Declaration
Swift
open func send<R>(_ request: R) -> AnyPublisher<R.Response, Error> where R : Request
-
Undocumented
Declaration
Swift
open func send<Request>(_ request: Request) -> AnyPublisher<Request.Response, Error> where Request : JSONBodyProvider, Request : JSONFormatProvider, Request : Request
-
Undocumented
Declaration
Swift
open func send<Request>(_ request: Request) -> AnyPublisher<Request.Response, Error> where Request : FormURLEncodedBodyProvider, Request : FormURLEncodedFormatProvider, Request : Request
-
Undocumented
Declaration
Swift
open func send<Request>(_ request: Request) -> AnyPublisher<Request.Response, Error> where Request : PlainBodyProvider, Request : PlainFormatProvider, Request : Request