diff --git a/transport/keys.go b/transport/keys.go index 93032fae9c..43b39e4c84 100644 --- a/transport/keys.go +++ b/transport/keys.go @@ -29,9 +29,10 @@ const ( HTTP GRPC HESSIAN2 - JSONRPC + STREAMING - TTHeaderFramed = TTHeader | Framed + TTHeaderFramed = TTHeader | Framed + TTHeaderStreaming = TTHeader | STREAMING ) // Unknown indicates the protocol is unknown. @@ -54,6 +55,8 @@ func (tp Protocol) String() string { return "GRPC" case HESSIAN2: return "Hessian2" + case TTHeaderStreaming: + return "TTHeaderStreaming" } return Unknown }