Restriction placed on the origin of incoming connections to the edge to only allow these CIDR ranges. Call multiple times to add additional CIDR ranges. See IP restrictions in the ngrok docs for additional details.
Restriction placed on the origin of incoming connections to the edge to deny these CIDR ranges. Call multiple times to add additional CIDR ranges. See IP restrictions in the ngrok docs for additional details.
Listener backend metadata. Viewable via the dashboard and API, but has no bearing on listener behavior.
To automatically forward connections, you can use listenAndForward,
or listenAndServe on the Listener Builder. These methods will also
set this forwardsTo
value.
Begin listening for new connections on this listener.
Optional
bind: null | booleanBegin listening for new connections on this listener and forwarding them to the given url.
This method will also set the forwardsTo
value.
Begin listening for new connections on this listener and forwarding them to the given server.
This method will also set the forwardsTo
value.
Listener-specific opaque metadata. Viewable via the API.
Enable endpoint pooling for this listener.
The version of PROXY protocol to use with this listener "1", "2", or "" if not using.
The TCP address to request for this edge. These addresses can be reserved in the ngrok dashboard to use across sessions. For example: remote_addr("2.tcp.ngrok.io:21746")
Whether to disable certificate verification for this listener.
r" An ngrok listener backing a TCP endpoint. r" r"