Overview
Properties
Properties
pathPrefix
Type: ?string
The path prefix an external connection needs to reach this server.
Please note that the layer redirecting to this server needs to strip the path prefix in order for this to work.
For example, if this is set to /hooks, an external connection to /hooks/abc should pass /abc as the path to this server.
Methods
getExternalPort()
asyncReturns the port that should be used by Twitch to connect to this server.
If not given, this is equal to the listener port.
getHostName()
asyncReturns the host name that should be used by Twitch to connect to this server.
getListenerPort()
asyncThe port the HTTP server should listen on.
If not given, this should be a parameter to
EventSub#listen
instead.