From 3f5dee781885f8d83a83cde3d3c8f19e1bc480f1 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 25 Apr 2018 09:57:16 +0200 Subject: [PATCH] [http.upgrade.request.types] updated + used [internal.http.request.parser.reqline] --- http/upgrade/request/types.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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