Instance Methodhummingbird-auth 2.0.1HummingbirdAuthTesting->HummingbirdTesting
execute(uri:method:headers:auth:body:testCallback:)
Send request with authentication and call test callback on the response returned
func execute<Return>(uri: String, method: HTTPRequest.Method, headers: HTTPFields = [:], auth: TestAuthentication, body: ByteBuffer? = nil, testCallback: @escaping (TestResponse) throws -> Return) async throws -> Return
Parameters
Returns
Result of callback