MCPcopy Create free account
hub / github.com/cli/cli / KeepAlive

Method KeepAlive

internal/codespaces/portforwarder/port_forwarder.go:50–50  ·  view source on GitHub ↗
(reason string)

Source from the content-addressed store, hash-verified

48 ListPorts(ctx context.Context) ([]*tunnels.TunnelPort, error)
49 UpdatePortVisibility(ctx context.Context, remotePort int, visibility string) error
50 KeepAlive(reason string)
51 GetKeepAliveReason() string
52 Close() error
53}

Callers 2

ReadMethod · 0.65
WriteMethod · 0.65

Implementers 2

PortForwarderinternal/codespaces/rpc/test/port_forw
CodespacesPortForwarderinternal/codespaces/portforwarder/port

Calls

no outgoing calls

Tested by

no test coverage detected