Files
nats-server/server
Ivan Kozlovic 9715848a8e [ADDED] Websocket support
Websocket support can be enabled with a new websocket
configuration block:

```
websocket {
    # Specify a host and port to listen for websocket connections
    # listen: "host:port"

    # It can also be configured with individual parameters,
    # namely host and port.
    # host: "hostname"
    # port: 4443

    # This will optionally specify what host:port for websocket
    # connections to be advertised in the cluster
    # advertise: "host:port"

    # TLS configuration is required
    tls {
      cert_file: "/path/to/cert.pem"
      key_file: "/path/to/key.pem"
    }

    # If same_origin is true, then the Origin header of the
    # client request must match the request's Host.
    # same_origin: true

    # This list specifies the only accepted values for
    # the client's request Origin header. The scheme,
    # host and port must match. By convention, the
    # absence of port for an http:// scheme will be 80,
    # and for https:// will be 443.
    # allowed_origins [
    #    "http://www.example.com"
    #    "https://www.other-example.com"
    # ]

    # This enables support for compressed websocket frames
    # in the server. For compression to be used, both server
    # and client have to support it.
    # compression: true

    # This is the total time allowed for the server to
    # read the client request and write the response back
    # to the client. This include the time needed for the
    # TLS handshake.
    # handshake_timeout: "2s"
}
```

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2020-05-20 11:14:39 -06:00
..
2019-10-15 23:55:13 +08:00
2020-05-19 14:15:11 -07:00
2020-05-19 14:26:46 -07:00
2020-05-19 16:38:19 -07:00
2020-05-19 14:26:46 -07:00
2020-05-20 11:14:39 -06:00
2020-05-20 11:14:39 -06:00
2020-05-19 16:44:42 -07:00
2020-05-19 16:36:08 -07:00
2020-02-25 19:53:09 -05:00
2020-05-20 11:14:39 -06:00
2020-05-19 14:33:56 -07:00
2020-05-19 16:36:08 -07:00
2020-05-19 14:26:46 -07:00
2020-04-14 13:27:17 -06:00
2019-05-06 15:41:38 -07:00
2020-05-20 11:14:39 -06:00
2019-12-12 11:58:24 -07:00
2018-12-06 15:09:14 -08:00
2019-12-12 11:58:24 -07:00
2020-05-20 11:14:39 -06:00
2019-05-10 15:11:30 -07:00
2020-05-20 11:14:39 -06:00
2018-10-06 14:06:14 -07:00
2020-05-20 11:14:39 -06:00
2020-05-20 11:14:39 -06:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2019-11-14 20:05:32 -07:00
2019-12-12 11:58:24 -07:00
2020-05-20 11:14:39 -06:00
2020-05-20 11:14:39 -06:00
2020-05-20 11:14:39 -06:00