Preparing search index...
The search index is not available
mockttp
mockttp
webSocketHandlers
PassThroughWebSocketHandler
Class PassThroughWebSocketHandler
Hierarchy (
view full
)
PassThroughWebSocketHandlerDefinition
PassThroughWebSocketHandler
Index
Constructors
constructor
Properties
client
Certificate
Host
Map
extraCACertificates
forwarding?
ignore
Host
Https
Errors
lookup
Options
proxy
Config?
type
Methods
dispose
explain
handle
Constructors
constructor
new
Pass
Through
Web
Socket
Handler
(
options
?
)
:
PassThroughWebSocketHandler
Parameters
options
:
PassThroughHandlerConnectionOptions
= {}
Returns
PassThroughWebSocketHandler
Properties
Readonly
client
Certificate
Host
Map
client
Certificate
Host
Map
:
{
[
host
:
string
]
:
{
passphrase
?:
string
;
pfx
:
Buffer
;
}
;
}
Readonly
extraCACertificates
extraCACertificates
:
CADefinition
[]
= []
Optional
Readonly
forwarding
forwarding
?:
ForwardingOptions
Readonly
ignore
Host
Https
Errors
ignore
Host
Https
Errors
:
boolean
|
string
[]
= []
Readonly
lookup
Options
lookup
Options
:
undefined
|
PassThroughLookupOptions
Optional
Readonly
proxy
Config
proxy
Config
?:
ProxyConfig
Readonly
type
type
:
"ws-passthrough"
= 'ws-passthrough'
Methods
dispose
dispose
(
)
:
void
Returns
void
explain
explain
(
)
:
string
Returns
string
handle
handle
(
req
,
socket
,
head
)
:
Promise
<
void
>
Parameters
req
:
OngoingRequest
socket
:
Socket
head
:
Buffer
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
Certificate
Host
Map
extraCACertificates
forwarding
ignore
Host
Https
Errors
lookup
Options
proxy
Config
type
Methods
dispose
explain
handle
mockttp
Loading...