Skip to content

THttpApiResponseReturnType object

THttpApiResponseReturnType consists of one field named response. The type looks as following:

type THttpApiResponseReturnType<T> = {
    response: Promise<IRequestResponse<T>
}

Where the IRequestResponse is the interface specified here

And T is a generic part of the response, usually it is of one of the TResponse types.

Objects reference