Reference

createFetchServerReferenceCaller

Creates a server reference caller that POSTs encoded action invocations to an endpoint.

Signature

function createFetchServerReferenceCaller(endpoint: string, options: FetchServerReferenceCallerOptions): (reference: FlightServerReference, args: unknown[]): unknown