diff --git a/internal/http/upgrade/request/parser/header/types.go b/internal/http/upgrade/request/parser/header/types.go index e72c27e..994e7df 100644 --- a/internal/http/upgrade/request/parser/header/types.go +++ b/internal/http/upgrade/request/parser/header/types.go @@ -14,9 +14,12 @@ const ( WSVERSION ) +// HeaderValue represents a unique or multiple header value(s) +type HeaderValue [][]byte + // T represents the data of a HTTP request header type T struct{ Name HeaderType - Values [][]byte + Values HeaderValue } \ No newline at end of file