You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea of the protocol HTTPRequestActionable is to provide access to the response easily just by instantiating the HTTPRequest.
response must be an instance method.
it must be implemented using Swift concurrency func response() async throws -> HTTPResponse func response<T: Decodable>() async throws -> Response<T>
It must have a Combine option to be used: var responsePublisher: any Publisher<HTTPResponse, Error> { get } var responseDecodedPublisher: any Publisher<ResponseType, Error> { get }
Activity