gohttp2: gitlab.com/jhfylling/gohttp2/header Index | Files

package header

import "gitlab.com/jhfylling/gohttp2/header"

Used to create request header on the Request format


Package Files


type Request Uses

type Request struct {
    StreamIdentifier [4]byte
    Path             string
    Command          string
    Data             []byte
    RequestMap       map[string]interface{}

Easy to use header object that contains all relevant information Including RequestMap in which any information can be added by middleware

func NewHttp2Header Uses

func NewHttp2Header(headerFrame frame.Http2frame, h2c *h2connection.H2Connection) Request

Create Request from Http2frame

Package header imports 3 packages (graph) and is imported by 4 packages. Updated 2019-06-22. Refresh now. Tools for package owners.