default_forward_port Property
The default port of the host to which data will be forwarded.
Syntax
def get_default_forward_port() -> int: ... def set_default_forward_port(value: int) -> None: ...
default_forward_port = property(get_default_forward_port, set_default_forward_port)
Default Value
0
Remarks
When a client connects the class will establish a new connection to the host specified in default_forward_host on the port specified here. Data can then be freely sent and received between the client and host.
You may also override the default value specified here by setting the ForwardPort event parameter within the on_web_socket_open_request event.