rest-vir - v1.2.6
    Preparing search index...

    Function buildEndpointUrl

    • Creates and finalizes a URL for sending fetches to the given endpoint.

      Type Parameters

      • const EndpointToFetch extends
            | typeof NoParam
            | Readonly<
                {
                    methods: _RequireAtLeastOne<Record<HttpMethod, boolean>, HttpMethod>;
                    path: `/${string}`;
                    requestDataShape: Shape | undefined;
                    responseDataShape: Shape | undefined;
                    searchParamsShape: Shape<unknown> | undefined;
                    service: { serviceName: string; serviceOrigin: string };
                },
            > = typeof NoParam

      Parameters

      Returns string