forward

function

gworker_client.tunnel.forward

Context manager that publishes a container port on a public gworker URL for the duration of the with block. Yields a Tunnel whose .url attribute is the public address. The tunnel is torn down on context exit.

Signature

python
1forward(port: int) -> Iterator[Tunnel]

← Back to docs