bodymutator

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyMutator

type BodyMutator struct {
	// contains filtered or unexported fields
}

func NewBodyMutator

func NewBodyMutator(bodyMutations *filterapi.HTTPBodyMutation, originalBody []byte) *BodyMutator

func (*BodyMutator) Mutate

func (b *BodyMutator) Mutate(requestBody []byte, onRetry bool) ([]byte, error)

Mutate mutates the request body based on the body mutations and restores original body if mutated previously.

Jump to

Keyboard shortcuts

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