request_sender

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendHTTPRequest

func SendHTTPRequest(req Request) (string, int, error)

func ValidateHTTPMethod

func ValidateHTTPMethod(httpMethod string) error

Types

type Request

type Request struct {
	Method  string
	Url     string
	Headers map[string]string
	Body    string
}

func ParseHttpRequestFile

func ParseHttpRequestFile(httpRequestFile string) ([]Request, error)

Jump to

Keyboard shortcuts

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