hapi-plugin-websocket icon indicating copy to clipboard operation
hapi-plugin-websocket copied to clipboard

Improve types

Open joshkel opened this issue 2 years ago • 0 comments

Events such as connect/disconnect/error were typed as accepting full PluginState objects, but the mode property was missing.

The Request.websocket() method was typed as always returning a 'websocket' mode object, but it may return an 'http' mode as well.

joshkel avatar Jun 27 '23 18:06 joshkel