createApiServer is the primary method through which your server code will interact with estuary-rpc.
Calling it will set up and start an 'http' server that listens for HTTP and WS connections and appropriately
forwards data to your endpoint implementations, taking into account underlying transport encodeings,
authentication tokens, and the wonkiness of dealing with WebSockets
createApiServer is the primary method through which your server code will interact with estuary-rpc. Calling it will set up and start an 'http' server that listens for HTTP and WS connections and appropriately forwards data to your endpoint implementations, taking into account underlying transport encodeings, authentication tokens, and the wonkiness of dealing with WebSockets
Example