HttpConnectionProtocol
public protocol HttpConnectionProtocol : AnyObject
Protocol for HTTP connection
See: HttpConnection for default implementation
-
Sends Request and returns Response
Throws
Depends on implementationDeclaration
Swift
func send(_ request: Request) throws -> GenericOperation<Response>
Parameters
request
Request to send
Return Value
Obtained response