Classes
Interfaces
Structs
WebSocket (preflight class)
No description
new(props: WebSocketProps): WebSocket
Name
Type
Description
url
str
No description
Signature
Description
onConnect(handler: inflight (str): void): void
No description
onDisconnect(handler: inflight (str): void): void
No description
onMessage(handler: inflight (str, str): void): void
No description
inflight sendMessage(connectionId: str, message: str): void
No description
platform.WebSocket_tfaws (preflight class)
No description
new(props: WebSocketProps): WebSocket_tfaws
Name
Type
Description
url
str
No description
Signature
Description
addRoute(handler: Function, routeKey: str): void
No description
onConnect(handler: inflight (str): void): void
No description
onDisconnect(handler: inflight (str): void): void
No description
onMessage(handler: inflight (str, str): void): void
No description
inflight sendMessage(connectionId: str, message: str): void
No description
platform.WebSocket_sim (preflight class)
No description
new(props: WebSocketProps): WebSocket_sim
Name
Type
Description
url
str
No description
Signature
Description
onConnect(handler: inflight (str): void): void
No description
onDisconnect(handler: inflight (str): void): void
No description
onMessage(handler: inflight (str, str): void): void
No description
inflight sendMessage(connectionId: str, message: str): void
No description
platform.WebSocket_awscdk (preflight class)
No description
new(props: WebSocketProps): WebSocket_awscdk
Name
Type
Description
url
str
No description
Signature
Description
addRoute(handler: Function, routeKey: str): void
No description
onConnect(handler: inflight (str): void): void
No description
onDisconnect(handler: inflight (str): void): void
No description
onMessage(handler: inflight (str, str): void): void
No description
inflight sendMessage(connectionId: str, message: str): void
No description
platform.aws.IAwsWebSocket (interface)
No description
No properties
Signature
Description
addRoute(handler: Function, routeKey: str): void
No description
onConnect(handler: inflight (str): void): void
No description
onDisconnect(handler: inflight (str): void): void
No description
onMessage(handler: inflight (str, str): void): void
No description
inflight sendMessage(connectionId: str, message: str): void
No description
commons.IWebSocket (interface)
No description
No properties
Signature
Description
onConnect(handler: inflight (str): void): void
No description
onDisconnect(handler: inflight (str): void): void
No description
onMessage(handler: inflight (str, str): void): void
No description
inflight sendMessage(connectionId: str, message: str): void
No description
platform.aws.WebSocketAwsRequest (struct)
No description
Name
Type
Description
body
str
No description
requestContext
WebSocketAwsRequestContext
No description
platform.aws.WebSocketAwsRequestContext (struct)
No description
Name
Type
Description
connectionId
str
No description
routeKey
str
No description
platform.aws.WebSocketAwsResponse (struct)
No description
Name
Type
Description
body
str?
No description
statusCode
num
No description
commons.WebSocketProps (struct)
No description
Name
Type
Description
name
str
No description
stageName
str?
No description