diff --git a/internal/tunnel/proto/msg.go b/internal/tunnel/proto/msg.go index 55db443..9484621 100644 --- a/internal/tunnel/proto/msg.go +++ b/internal/tunnel/proto/msg.go @@ -204,7 +204,7 @@ type Bind struct { ClientID string `json:"Id"` // a session-unique bind ID generated by the client, if empty, one is generated Proto string // the protocol to bind (one of 'http', 'https', 'tcp', 'tls', 'ssh') ForwardsTo string // the address of the upstream service the ngrok agent will forward to - ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'h1', 'h2c') + ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'http1', 'http2') Opts any // options for the bind - protocol dependent Extra BindExtra // anything extra the application wants to send } @@ -236,7 +236,7 @@ type StartTunnelWithLabel struct { // ID string `json:"-"` // a session-unique bind ID generated by the client, if empty, one is generated Labels map[string]string // labels for tunnel group membership ForwardsTo string // the address of the upstream service the ngrok agent will forward to - ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'h1', 'h2c') + ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'http1', 'http2') Metadata string }