mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
use protocol field encoder
This commit is contained in:
parent
fb57ad79f5
commit
00da3c95ed
3 changed files with 12 additions and 7 deletions
|
@ -152,7 +152,7 @@ func DecodeClientPollResponse(data []byte) (*ClientPollResponse, error) {
|
|||
}
|
||||
|
||||
type ClientConnectionMetadata struct {
|
||||
ClientID string `json:"client_id"`
|
||||
ClientID []byte `json:"client_id"`
|
||||
}
|
||||
|
||||
func (meta *ClientConnectionMetadata) EncodeConnectionMetadata() (string, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue