func (c *Fetch) ContinueRequestWithParams(ctx context.Context, v *FetchContinueRequestParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Fetch.continueRequest", Params: v})
}
ContinueRequestWithParams - Continues the request, optionally modifying some of its parameters.
package gcdapi
import (
	"context"
	"github.com/wirepair/gcd/v2/gcdmessage"
)
type FetchRequestPattern struct {
	UrlPattern   string `json:"urlPattern,omitempty"`    
	ResourceType string `json:"resourceType,omitempty"`  
	RequestStage string `json:"requestStage,omitempty"`  
}
type FetchHeaderEntry struct {
	Name  string `json:"name"`   
	Value string `json:"value"`  
}
type FetchAuthChallenge struct {
	Source string `json:"source,omitempty"`  
	Origin string `json:"origin"`            
	Scheme string `json:"scheme"`            
	Realm  string `json:"realm"`             
}
type FetchAuthChallengeResponse struct {
	Response string `json:"response"`            
	Username string `json:"username,omitempty"`  
	Password string `json:"password,omitempty"`  
}
type FetchRequestPausedEvent struct {
	Method string `json:"method"`
	Params struct {
		RequestId           string              `json:"requestId"`                      
		Request             *NetworkRequest     `json:"request"`                        
		FrameId             string              `json:"frameId"`                        
		ResourceType        string              `json:"resourceType"`                   
		ResponseErrorReason string              `json:"responseErrorReason,omitempty"`  
		ResponseStatusCode  int                 `json:"responseStatusCode,omitempty"`   
		ResponseHeaders     []*FetchHeaderEntry `json:"responseHeaders,omitempty"`      
		NetworkId           string              `json:"networkId,omitempty"`            
	} `json:"Params,omitempty"`
}
type FetchAuthRequiredEvent struct {
	Method string `json:"method"`
	Params struct {
		RequestId     string              `json:"requestId"`      
		Request       *NetworkRequest     `json:"request"`        
		FrameId       string              `json:"frameId"`        
		ResourceType  string              `json:"resourceType"`   
		AuthChallenge *FetchAuthChallenge `json:"authChallenge"`  
	} `json:"Params,omitempty"`
}
type Fetch struct {
	target gcdmessage.ChromeTargeter
}
func NewFetch(target gcdmessage.ChromeTargeter) *Fetch {
	c := &Fetch{target: target}
	return c
}
func (c *Fetch) Disable(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Fetch.disable"})
}
type FetchEnableParams struct {
	Patterns []*FetchRequestPattern `json:"patterns,omitempty"`
	HandleAuthRequests bool `json:"handleAuthRequests,omitempty"`
}
func (c *Fetch) EnableWithParams(ctx context.Context, v *FetchEnableParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Fetch.enable", Params: v})
}
func (c *Fetch) Enable(ctx context.Context, patterns []*FetchRequestPattern, handleAuthRequests bool) (*gcdmessage.ChromeResponse, error) {
	var v FetchEnableParams
	v.Patterns = patterns
	v.HandleAuthRequests = handleAuthRequests
	return c.EnableWithParams(ctx, &v)
}
type FetchFailRequestParams struct {
	RequestId string `json:"requestId"`
	ErrorReason string `json:"errorReason"`
}
func (c *Fetch) FailRequestWithParams(ctx context.Context, v *FetchFailRequestParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Fetch.failRequest", Params: v})
}
func (c *Fetch) FailRequest(ctx context.Context, requestId string, errorReason string) (*gcdmessage.ChromeResponse, error) {
	var v FetchFailRequestParams
	v.RequestId = requestId
	v.ErrorReason = errorReason
	return c.FailRequestWithParams(ctx, &v)
}
type FetchFulfillRequestParams struct {
	RequestId string `json:"requestId"`
	ResponseCode int `json:"responseCode"`
	ResponseHeaders []*FetchHeaderEntry `json:"responseHeaders,omitempty"`
	BinaryResponseHeaders string `json:"binaryResponseHeaders,omitempty"`
	Body string `json:"body,omitempty"`
	ResponsePhrase string `json:"responsePhrase,omitempty"`
}
func (c *Fetch) FulfillRequestWithParams(ctx context.Context, v *FetchFulfillRequestParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Fetch.fulfillRequest", Params: v})
}
func (c *Fetch) FulfillRequest(ctx context.Context, requestId string, responseCode int, responseHeaders []*FetchHeaderEntry, binaryResponseHeaders string, body string, responsePhrase string) (*gcdmessage.ChromeResponse, error) {
	var v FetchFulfillRequestParams
	v.RequestId = requestId
	v.ResponseCode = responseCode
	v.ResponseHeaders = responseHeaders
	v.BinaryResponseHeaders = binaryResponseHeaders
	v.Body = body
	v.ResponsePhrase = responsePhrase
	return c.FulfillRequestWithParams(ctx, &v)
}
type FetchContinueRequestParams struct {
	RequestId string `json:"requestId"`
	Url string `json:"url,omitempty"`
	Method string `json:"method,omitempty"`
	PostData string `json:"postData,omitempty"`
	Headers []*FetchHeaderEntry `json:"headers,omitempty"`
}