package
2.6.0+incompatible
Repository: https://github.com/summerwind/h2spec.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CommonHeaders returns a array of header field of HPACK contained common http headers used in various test case.
CommonRespHeaders returns a array of header field of HPACK contained common http headers used in various test case.
Dial connects to the server based on configuration.
DummyBytes returns a array of byte with specified length.
DummyHeaders returns a array of header field of HPACK contained dummy string values.
No description provided by the author
DummyString returns a dummy string with specified length.
HeaderField returns a header field of HPACK with specified name and value.
No description provided by the author
NewClientTestResult returns a ClientTestResult.
NewTestResult returns a TestResult.
ServerDataLength returns the total length of the DATA frame of /.
VerifyConnectionClose verifies whether the connection was closed.
VerifyConnectionError verifies whether a connection error of HTTP/2 has occurred.
VerifyErrorCode verifies whether the specified error code is the expected error code.
VerifyEventType verifies whether a frame with specified type has received.
VerifyHeadersFrame verifies whether a HEADERS frame with specified stream ID has received.
VerifyPingFrameOrConnectionClose verifies whether a PING frame with ACK flag has received or the connection was closed.
VerifyPingFrameWithAck verifies whether a PING frame with ACK flag has received.
VerifySettingsFrameWithAck verifies whether a SETTINGS frame with ACK flag has received.
VerifyStreamClose verifies whether a stream close of HTTP/2 has occurred.
VerifyStreamError verifies whether a stream error of HTTP/2 has occurred.

# Constants

DefaultFrameSize is the value of default frame size.
DefaultWindowSize is the value of default connection window size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
ErrSkipped is used when the test skipped.
ErrTimeout is used when the test times out.

# Structs

ClientTestCase represents a test case.
ClientTestGroup represents a group of test case.
ClientTestResult represents a result of test case.
Conn represent a HTTP/2 connection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestCase represents a test case.
TestError represents a error result of test case and implements type error.
TestGroup represents a group of test case.
TestResult represents a result of test case.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author