fasthttp

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FastHttpSender

type FastHttpSender[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any](t testing.TB, app *fasthttp.Server, followRedirect bool) *FastHttpSender[T]

New Instantiate new Fast HTTP Client

func (*FastHttpSender[T]) Test

func (s *FastHttpSender[T]) Test(req *http.Request, timeout ...time.Duration) (*http.Response, error)

Test Sends a HTTP request

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL