createApiServer is the primary method through which your server code will interact with estuary-rpc.
Calling it will set up an 'http' server (or serve on ServerOpts.server, an https one say), listening on
ServerOpts.port if given, and return it. It answers 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 an 'http' server (or serve on ServerOpts.server, an
httpsone say), listening on ServerOpts.port if given, and return it. It answers 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 WebSocketsExample