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.
Click to show internal directories.
Click to hide internal directories.