Interface ExecuteFactoryFunctionsRequestProps<TPathParams, TQueryParams, TRequestBody, TResponseBody>

Props for executing factory functions for HTTP requests.

interface ExecuteFactoryFunctionsRequestProps<TPathParams, TQueryParams, TRequestBody, TResponseBody> {
    factoryProps: FactoryFunctionProps<TPathParams, TQueryParams, TRequestBody, TResponseBody>;
    mainProps: UseHttpRequestHandlerProps;
    method: string;
    params: {
        pathParams: TPathParams;
        queryParams: TQueryParams;
        requestBody?: TRequestBody;
    };
}

Type Parameters

  • TPathParams = PathParams

    Type of the path parameters.

  • TQueryParams = QueryParams

    Type of the query parameters.

  • TRequestBody = any

    Type of the request body.

  • TResponseBody = any

    Type of the response body.

Properties

method: string
params: {
    pathParams: TPathParams;
    queryParams: TQueryParams;
    requestBody?: TRequestBody;
}