forwarding_port Property
The port to which traffic will automatically be forwarded.
Syntax
def get_forwarding_port() -> int: ... def set_forwarding_port(value: int) -> None: ...
forwarding_port = property(get_forwarding_port, set_forwarding_port)
Default Value
0
Remarks
forwarding_port is used together with forwarding_host to define a location where traffic is automatically forwarded.
forwarding_host optionally specifies an address to which traffic will be automatically forwarded. Traffic will only be forwarded if both forwarding_host and forwarding_port are specified.
When a connection is made the class will automatically establish a connection to forwarding_host on the port specified by forwarding_port. Data will then flow freely between the connected client and the forwarding_host.
Note: This functionality is not applicable to HTTP requests.