INNER CODE UNIT · Go
UseMultipartForm
machinebox/graphql · graphql.go:235
func UseMultipartForm() ClientOption {
return func(client *Client) {
client.useMultipartForm = true
}
}
//ImmediatelyCloseReqBody will close the req body immediately after each request body is ready
func ImmediatelyCloseReqBody() ClientOption {
return func(client *Client) {
client.closeReq = true
}
}
// ClientOption are functions that are passed into NewClient to
// modify the behaviour of the Client.
type ClientOption func(*Client)
type graphErr struct {