Skip to content

wss-server://

TLS WebSocket server. Sibling of ws-server:// — same parameter surface, same body shape, same header conventions. TLS is mandatory: requires tlsCert + tlsKey URI params (or paths loaded into the server's tls.Config).

URI shape

wss-server://host[:port][/path]?tlsCert=…&tlsKey=…

All other params are identical to ws-server://.

YAML example

workflows:
  - id: wss-secure-chat
    description: TLS chat server with mTLS (client cert required).
    trigger:
      uri: wss-server://0.0.0.0:8443/chat
      params:
        tlsCert: /etc/ssl/server.crt
        tlsKey: /etc/ssl/server.key
        tlsCA: /etc/ssl/clients-ca.crt
        allowedOriginPattern: "^https://chat\\.example\\.com$"
        fireWebSocketConnectionEvents: "true"
    steps:
      - log:
          message: "Secure msg from ${headers.HelixWsRemoteAddress}"
      - to: wss-server://0.0.0.0:8443/chat?sendToAll=true

See also