OptionalauthenticateIf true, verify the server's peer id using PeerId Authentication
OptionalheadersHeaders to send with the initial upgrade request
OptionalmaxThe maximum number of bytes that will be parsed as response headers
OptionalmaxThe maximum message size to be sent or received over the socket in bytes
OptionalmiddlewareA list of request processors that can augment requests - if specified will
override any processors passed to the http service
OptionalprotocolsProtocols to send with the upgrade request
Optionalsignal
Options used to control Fetch request and the initial WebSocket upgrade request