OptionaltimeoutOptionaltypeDetermines where to expect the request to be executed from
server-only - The request will only be received if it originated from the server.client-only - The request will only be received if it originated from the client.both - The request will be received regardless of whether it originated from the server or client. The request returned is the first request received.
Timeout duration in milliseconds for waiting for a request to be received from the WebSocket server