Documentation
¶
Index ¶
- func FindAbsoluteForm(data []byte) []int
- func FindAbsolutePath(data []byte) []int
- func FindAsteriskForm(data []byte) []int
- func FindAuthorityForm(data []byte) []int
- func FindBws(data []byte) []int
- func FindFieldContent(data []byte) []int
- func FindFieldLine(data []byte) []int
- func FindFieldName(data []byte) []int
- func FindFieldVChar(data []byte) []int
- func FindFieldValue(data []byte) []int
- func FindHttpMessage(data []byte) []int
- func FindHttpName(data []byte) []int
- func FindHttpVersion(data []byte) []int
- func FindMessageBody(data []byte) []int
- func FindMethod(data []byte) []int
- func FindObsText(data []byte) []int
- func FindOriginForm(data []byte) []int
- func FindOws(data []byte) []int
- func FindQdText(data []byte) []int
- func FindQuotedPair(data []byte) []int
- func FindQuotedString(data []byte) []int
- func FindReasonPhrase(data []byte) []int
- func FindRequestLine(data []byte) []int
- func FindRequestTarget(data []byte) []int
- func FindRws(data []byte) []int
- func FindStartLine(data []byte) []int
- func FindStatusCode(data []byte) []int
- func FindStatusLine(data []byte) []int
- func FindTChar(data []byte) []int
- func FindToken(data []byte) []int
- func FindUriHost(data []byte) []int
- type FieldLine
- type Http11Request
- type Http11Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAbsoluteForm ¶
func FindAbsolutePath ¶
func FindAsteriskForm ¶
func FindAuthorityForm ¶
func FindFieldContent ¶
func FindFieldLine ¶
func FindFieldName ¶
func FindFieldVChar ¶
func FindFieldValue ¶
func FindHttpMessage ¶
func FindHttpName ¶
func FindHttpVersion ¶
func FindMessageBody ¶
func FindMethod ¶
func FindObsText ¶
func FindOriginForm ¶
func FindQdText ¶
NOTE x21 : ! x23-5B : #, $, %, & ' ( ) * + , - . / 0-9, : ; < = > ? @ A-Z [ x5D-7E : ] ^ _ ` a-z { | } ~
func FindQuotedPair ¶
func FindQuotedString ¶
func FindReasonPhrase ¶
func FindRequestLine ¶
func FindRequestTarget ¶
func FindStartLine ¶
func FindStatusCode ¶
func FindStatusLine ¶
func FindUriHost ¶
Types ¶
type Http11Request ¶
type Http11Request struct { Method []byte RequestTarget []byte HttpVersion []byte FieldLines []FieldLine MessageBody []byte }
func (Http11Request) GetHeader ¶
func (req Http11Request) GetHeader(name string) []byte
func (*Http11Request) Marshal ¶
func (req *Http11Request) Marshal(data []byte) (err error)
func (Http11Request) String ¶
func (req Http11Request) String() string
func (Http11Request) Unmarshal ¶
func (req Http11Request) Unmarshal() (data []byte)
type Http11Response ¶
type Http11Response struct { HttpVersion []byte StatusCode []byte ReasonPhrase []byte FieldLines []FieldLine MessageBody []byte }
func (Http11Response) GetHeader ¶
func (resp Http11Response) GetHeader(name string) []byte
func (*Http11Response) Marshal ¶
func (resp *Http11Response) Marshal(data []byte) (err error)
func (Http11Response) String ¶
func (resp Http11Response) String() string
func (Http11Response) Unmarshal ¶
func (resp Http11Response) Unmarshal() (data []byte)
Click to show internal directories.
Click to hide internal directories.