func (r Request) ClearHeader(name string) error {
	return r.Ask(`kong.service.request.clear_header`, bridge.WrapString(name), nil)
}
kong.ServiceRequest.ClearHeader() removes all occurrences
of the specified header in the request to the Service.
package request
import (
	"github.com/Kong/go-pdk/bridge"
	"github.com/Kong/go-pdk/server/kong_plugin_protocol"
	"google.golang.org/protobuf/types/known/structpb"
)
type Request struct {
	bridge.PdkBridge
}
func (r Request) SetScheme(scheme string) error {
	return r.Ask(`kong.service.request.set_scheme`, bridge.WrapString(scheme), nil)
}
func (r Request) SetPath(path string) error {
	return r.Ask(`kong.service.request.set_path`, bridge.WrapString(path), nil)
}
func (r Request) SetRawQuery(query string) error {
	return r.Ask(`kong.service.request.set_raw_query`, bridge.WrapString(query), nil)
}
func (r Request) SetMethod(method string) error {
	return r.Ask(`kong.service.request.set_method`, bridge.WrapString(method), nil)
}
func (r Request) SetQuery(query map[string][]string) error {
	arg, err := bridge.WrapHeaders(query)
	if err != nil {
		return err
	}
	return r.Ask(`kong.service.request.set_query`, arg, nil)
}
func (r Request) SetHeader(name string, value string) error {
	arg := kong_plugin_protocol.KV{
		K: name,
		V: structpb.NewStringValue(value),
	}
	return r.Ask(`kong.service.request.set_header`, &arg, nil)
}
func (r Request) AddHeader(name string, value string) error {
	arg := kong_plugin_protocol.KV{
		K: name,
		V: structpb.NewStringValue(value),
	}
	return r.Ask(`kong.service.request.add_header`, &arg, nil)
}