created alias for [][]byte (HeaderValue) for better readability
This commit is contained in:
parent
fcdcb42b62
commit
2edafff0f5
|
@ -14,9 +14,12 @@ const (
|
||||||
WSVERSION
|
WSVERSION
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// HeaderValue represents a unique or multiple header value(s)
|
||||||
|
type HeaderValue [][]byte
|
||||||
|
|
||||||
|
|
||||||
// T represents the data of a HTTP request header
|
// T represents the data of a HTTP request header
|
||||||
type T struct{
|
type T struct{
|
||||||
Name HeaderType
|
Name HeaderType
|
||||||
Values [][]byte
|
Values HeaderValue
|
||||||
}
|
}
|
Loading…
Reference in New Issue