Preparing search index...
The search index is not available
graphqlade
graphqlade
GraphQLServerWebSocket
Class GraphQLServerWebSocket
Index
Constructors
constructor
Properties
connection
Init
Wait
Timeout
req
socket
Methods
close
close
By
Error
handle
Close
Event
handle
Complete
Message
handle
Connection
Init
Message
handle
Error
Event
handle
Message
Event
handle
Subscribe
Message
is
Open
make
Closing
Error
parse
Complete
Message
parse
Connection
Init
Message
parse
Subscribe
Message
require
Ack
require
Subscription
send
Constructors
constructor
new
GraphQLServer
Web
Socket
(
options
)
:
GraphQLServerWebSocket
Parameters
options
:
GraphQLServerWebSocketOptions
Returns
GraphQLServerWebSocket
Properties
Readonly
connection
Init
Wait
Timeout
connection
Init
Wait
Timeout
:
number
Readonly
req
req
:
IncomingMessage
Readonly
socket
socket
:
WebSocket
Methods
close
close
(
code
,
reason
)
:
void
Parameters
code
:
number
reason
:
string
Returns
void
close
By
Error
close
By
Error
(
err
)
:
void
Parameters
err
:
Error
&
{
code
?:
number
;
}
Returns
void
handle
Close
Event
handle
Close
Event
(
event
)
:
Promise
<
void
>
Parameters
event
:
CloseEvent
Returns
Promise
<
void
>
handle
Complete
Message
handle
Complete
Message
(
message
)
:
Promise
<
void
>
Parameters
message
:
CompleteMessage
Returns
Promise
<
void
>
handle
Connection
Init
Message
handle
Connection
Init
Message
(
message
)
:
Promise
<
void
>
Parameters
message
:
ConnectionInitMessage
Returns
Promise
<
void
>
handle
Error
Event
handle
Error
Event
(
event
)
:
Promise
<
void
>
Parameters
event
:
ErrorEvent
Returns
Promise
<
void
>
handle
Message
Event
handle
Message
Event
(
event
)
:
Promise
<
void
>
Parameters
event
:
MessageEvent
<
any
>
Returns
Promise
<
void
>
handle
Subscribe
Message
handle
Subscribe
Message
(
message
)
:
Promise
<
void
>
Parameters
message
:
SubscribeMessage
Returns
Promise
<
void
>
is
Open
is
Open
(
)
:
boolean
Returns
boolean
make
Closing
Error
make
Closing
Error
(
code
,
reason
)
:
Error
&
{
code
:
number
;
}
Parameters
code
:
number
reason
:
string
Returns
Error
&
{
code
:
number
;
}
parse
Complete
Message
parse
Complete
Message
(
message
)
:
CompleteMessage
Parameters
message
:
Record
<
string
,
unknown
>
Returns
CompleteMessage
parse
Connection
Init
Message
parse
Connection
Init
Message
(
message
)
:
ConnectionInitMessage
Parameters
message
:
Record
<
string
,
unknown
>
Returns
ConnectionInitMessage
parse
Subscribe
Message
parse
Subscribe
Message
(
message
)
:
SubscribeMessage
Parameters
message
:
Record
<
string
,
unknown
>
Returns
SubscribeMessage
require
Ack
require
Ack
(
)
:
Promise
<
undefined
|
null
|
Record
<
string
,
unknown
>
>
Returns
Promise
<
undefined
|
null
|
Record
<
string
,
unknown
>
>
require
Subscription
require
Subscription
(
id
)
:
Promise
<
AsyncIterableIterator
<
ExecutionResult
<
ObjMap
<
unknown
>
,
ObjMap
<
unknown
>
>
>
>
Parameters
id
:
string
Returns
Promise
<
AsyncIterableIterator
<
ExecutionResult
<
ObjMap
<
unknown
>
,
ObjMap
<
unknown
>
>
>
>
send
send
(
message
)
:
void
Parameters
message
:
GraphQLWebSocketServerMessage
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
connection
Init
Wait
Timeout
req
socket
Methods
close
close
By
Error
handle
Close
Event
handle
Complete
Message
handle
Connection
Init
Message
handle
Error
Event
handle
Message
Event
handle
Subscribe
Message
is
Open
make
Closing
Error
parse
Complete
Message
parse
Connection
Init
Message
parse
Subscribe
Message
require
Ack
require
Subscription
send
graphqlade
Loading...