Function: resolveHTTPResponse()
resolveHTTPResponse<
TRouter
,TRequest
>(opts
):Promise
<HTTPResponse
>
Non-streaming signature for resolveHTTPResponse
:
Type parameters
Parameter |
---|
TRouter extends Router < AnyRouterDef < AnyRootConfig >, TRouter > |
TRequest extends HTTPRequest |
Parameters
Parameter | Type |
---|---|
opts | Omit < ResolveHTTPRequestOptions < TRouter , TRequest >, "unstable_onChunk" | "unstable_onHead" > |
Returns
Promise
< HTTPResponse
>
Promise<HTTPResponse>
Source
packages/core/dist/http/resolveHTTPResponse.d.ts:42
resolveHTTPResponse<
TRouter
,TRequest
>(opts
):Promise
<void
>
Streaming signature for resolveHTTPResponse
:
Type parameters
Parameter |
---|
TRouter extends Router < AnyRouterDef < AnyRootConfig >, TRouter > |
TRequest extends HTTPRequest |
Parameters
Parameter | Type |
---|---|
opts | ResolveHTTPRequestOptions < TRouter , TRequest > |
Returns
Promise
< void
>
Promise<void>
since the response is streamed
Source
packages/core/dist/http/resolveHTTPResponse.d.ts:49
Generated using TypeDoc and typedoc-plugin-markdown