Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleCalloutService ¶
type ExampleCalloutService struct {
server.GRPCCalloutService
}
ExampleCalloutService represents the callout service used to handle HTTP request headers and provide an immediate redirection response.
func NewExampleCalloutService ¶
func NewExampleCalloutService() *ExampleCalloutService
NewExampleCalloutService creates a new instance of ExampleCalloutService and assigns the HandleRequestHeaders method to the RequestHeadersHandler.
func (*ExampleCalloutService) HandleRequestHeaders ¶
func (s *ExampleCalloutService) HandleRequestHeaders(headers *extproc.HttpHeaders) (*extproc.ProcessingResponse, error)
HandleRequestHeaders handles the HTTP request headers and returns a ProcessingResponse with an immediate redirection response.
Click to show internal directories.
Click to hide internal directories.