Websocket Endpoint
Websocket Endpoint is used to create and start Websocket receiving service, it can register different routes Router to handle different requests.
# Type
ws
# Startup configuration
Field | Type | Required | Description | Default |
---|---|---|---|---|
Server | string | Yes | ws service address, e.g. ":8080" | - |
CertFile | string | No | Cert file path | 0 |
CertKeyFile | string | No | CertKey file path | - |
# Examples
The following are example codes using endpoint:
Edit this page on GitHub (opens new window)
Last Updated: 2024/06/16, 16:49:02