Optional
authenticateIf true, verify the server's peer id using PeerId Authentication
Optional
headersHeaders to send with the initial upgrade request
Optional
maxThe maximum number of bytes that will be parsed as response headers
Optional
maxThe maximum message size to be sent or received over the socket in bytes
Optional
middlewareA list of request processors that can augment requests - if specified will
override any processors passed to the http
service
Optional
protocolsProtocols to send with the upgrade request
Optional
signalMake a request over a WebSocket instead of HTTP
Options used to control Fetch request and the initial WebSocket upgrade request