payload

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PayloadInfo

type PayloadInfo struct {
	Payload           string
	EncoderName       string
	PlaceholderName   string
	PlaceholderConfig placeholder.PlaceholderConfig

	DebugHeaderValue string
}

PayloadInfo holds information about the payload and its configuration.

func (*PayloadInfo) GetEncodedPayload

func (p *PayloadInfo) GetEncodedPayload() (string, error)

GetEncodedPayload encodes the payload using the specified encoder and returns the encoded payload.

func (*PayloadInfo) GetRequest

func (p *PayloadInfo) GetRequest(targetURL string, clientType types.HTTPClientType) (types.Request, error)

GetRequest generates a request based on the payload information, target URL, and client type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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