Skip to content

Instance Method

test(_:_:headers:body:fileID:filePath:line:column:afterResponse:)

@discardableResult func test(_ method: HTTPMethod, _ path: String, headers: HTTPHeaders = [:], body: ByteBuffer? = nil, fileID: String = #fileID, filePath: String = #filePath, line: Int = #line, column: Int = #column, afterResponse: (TestingHTTPResponse) async throws -> ()) async throws -> any TestingApplicationTester