Skip to content
Snippets Groups Projects
Commit 98a0662a authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Remove optional datatype in reponse handler

parent 5b641920
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,13 @@ import Logging
public protocol HttpResponseFilter
{
@available(iOS 15.0.0, *)
func handleResponse(request: Request, data: Data?, dataMapper: DataMapper?, sender: Any?) async throws -> Any?
func handleResponse(request: Request, data: Data?, dataMapper: DataMapper?, sender: Any?) async throws -> Any
}
public protocol HttpSuccessFilter
{
@available(iOS 15.0.0, *)
func handleResponse(data: Data?, response: HTTPURLResponse, dataMapper: DataMapper?, sender: Any?) async throws -> Any?
func handleResponse(data: Data?, response: HTTPURLResponse, dataMapper: DataMapper?, sender: Any?) async throws -> Any
}
public protocol DataManagerDelegate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment