func (a *FulfillRequestArgs) SetBody(body string) *FulfillRequestArgs {
	a.Body = &body
	return a
}
SetBody sets the Body optional argument. A response body.
package fetch
import (
	"github.com/mafredri/cdp/protocol/io"
	"github.com/mafredri/cdp/protocol/network"
)
type EnableArgs struct {
	Patterns           []RequestPattern `json:"patterns,omitempty"`            
	HandleAuthRequests *bool            `json:"handleAuthRequests,omitempty"`  
}
func NewEnableArgs() *EnableArgs {
	args := new(EnableArgs)
	return args
}
func (a *EnableArgs) SetPatterns(patterns []RequestPattern) *EnableArgs {
	a.Patterns = patterns
	return a
}
func (a *EnableArgs) SetHandleAuthRequests(handleAuthRequests bool) *EnableArgs {
	a.HandleAuthRequests = &handleAuthRequests
	return a
}
type FailRequestArgs struct {
	RequestID   RequestID           `json:"requestId"`    
	ErrorReason network.ErrorReason `json:"errorReason"`  
}
func NewFailRequestArgs(requestID RequestID, errorReason network.ErrorReason) *FailRequestArgs {
	args := new(FailRequestArgs)
	args.RequestID = requestID
	args.ErrorReason = errorReason
	return args
}
type FulfillRequestArgs struct {
	RequestID       RequestID     `json:"requestId"`                 
	ResponseCode    int           `json:"responseCode"`              
	ResponseHeaders []HeaderEntry `json:"responseHeaders"`           
	Body            *string       `json:"body,omitempty"`            
	ResponsePhrase  *string       `json:"responsePhrase,omitempty"`  
}
func NewFulfillRequestArgs(requestID RequestID, responseCode int, responseHeaders []HeaderEntry) *FulfillRequestArgs {
	args := new(FulfillRequestArgs)
	args.RequestID = requestID
	args.ResponseCode = responseCode
	args.ResponseHeaders = responseHeaders
	return args
}