gwsocket is a simple, standalone, language-agnostic, RFC6455 compliant WebSocket Server, written in C. It sits between your application and the client's browser, giving fast bidirectional communication between these two with ease and flexibility. More info at: http://gwsocket.io. PR: 247884 Submitted by: Daniel Morante <daniel@morante.net>
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
# This config file is evaluated by the rc script from the FreeBSD port of www/gwsocket.
|
|
# It is not related to gwsocket(1) itself.
|
|
#
|
|
# Most options are set with "name=value" assignments.
|
|
|
|
# Specifies the port to bind. (-p --port)
|
|
#port=7890
|
|
|
|
# Specifies the path/file for the access log. (--access-log=<path/file>)
|
|
#access-log=/var/log/gwsocket/gwsocket-access.log
|
|
|
|
# Specifies the address to bind. (--addr=<addr>)
|
|
#addr=127.0.0.1
|
|
|
|
# Set the server to echo all received messages. (--echo-mode)
|
|
# Exclude, set to 'false' or 'no' to disable. Set to 'true' or 'yes' to enable
|
|
#echo-mode=no
|
|
|
|
# Maximum size of a websocket frame. This includes received frames from the
|
|
# client and messages through the named pipe. (--max-frame-size=<bytes>)
|
|
#max-frame-size=
|
|
|
|
# Ensure clients send the specified origin header upon the WebSocket
|
|
# handshake. (--origin=<origin>)
|
|
#origin=
|
|
|
|
# Creates a named pipe (FIFO) that reads from on the given path/file. (--pipein=<path/file>)
|
|
#pipein=
|
|
|
|
# Creates a named pipe (FIFO) that writes to the given path/file. (--pipeout=<path/file>)
|
|
#pipeout=
|
|
|
|
# Parse messages using strict mode. See man page for more details. (--strict)
|
|
# Exclude, set to 'false' or 'no' to disable. Set to 'true' or 'yes' to enable
|
|
#strict=no
|
|
|
|
# Path to TLS/SSL certificate. (--ssl-cert=<cert.crt>)
|
|
#ssl-cert=
|
|
|
|
# Path to TLS/SSL private key. (--ssl-key=<priv.key>)
|
|
#ssl-key=
|
|
|