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 is a gRPC service that handles header processing.
func NewExampleCalloutService ¶
func NewExampleCalloutService() *ExampleCalloutService
NewExampleCalloutService creates a new instance of ExampleCalloutService.
func (*ExampleCalloutService) HandleRequestHeaders ¶
func (s *ExampleCalloutService) HandleRequestHeaders(headers *extproc.HttpHeaders) (*extproc.ProcessingResponse, error)
HandleRequestHeaders handles incoming request headers and adds a custom header.
func (*ExampleCalloutService) HandleResponseHeaders ¶
func (s *ExampleCalloutService) HandleResponseHeaders(headers *extproc.HttpHeaders) (*extproc.ProcessingResponse, error)
HandleResponseHeaders handles outgoing response headers and adds a custom header.
Click to show internal directories.
Click to hide internal directories.