-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
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 }
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request