[http.upgrade.request.types] updated + used [internal.http.request.parser.reqline]

This commit is contained in:
xdrm-brackets 2018-04-25 09:57:16 +02:00
parent 00e5698391
commit 3f5dee7818
1 changed files with 6 additions and 3 deletions

View File

@ -1,11 +1,14 @@
package request package request
import "git.xdrm.io/gws/internal/http/request/parser/reqline"
// T represents an HTTP Upgrade request // T represents an HTTP Upgrade request
type T struct { type T struct {
httpMethod string request reqline.T
uri string
httpVersion float32
host string host string
port uint16
origin string origin string
key []byte key []byte
protocols []string protocols []string