[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
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