diff --git a/http/upgrade/request/types.go b/http/upgrade/request/types.go index 5a7d506..91a79b8 100644 --- a/http/upgrade/request/types.go +++ b/http/upgrade/request/types.go @@ -1,11 +1,14 @@ package request +import "git.xdrm.io/gws/internal/http/request/parser/reqline" + // T represents an HTTP Upgrade request type T struct { - httpMethod string - uri string - httpVersion float32 + request reqline.T + host string + port uint16 + origin string key []byte protocols []string