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 implements the GRPCCalloutService and provides handlers for processing HTTP request and response bodies.
func NewExampleCalloutService ¶
func NewExampleCalloutService() *ExampleCalloutService
NewExampleCalloutService creates a new instance of ExampleCalloutService with the necessary handlers.
func (*ExampleCalloutService) HandleRequestBody ¶
func (s *ExampleCalloutService) HandleRequestBody(body *extproc.HttpBody) (*extproc.ProcessingResponse, error)
HandleRequestBody processes the incoming HTTP request body and modifies it.
func (*ExampleCalloutService) HandleResponseBody ¶
func (s *ExampleCalloutService) HandleResponseBody(body *extproc.HttpBody) (*extproc.ProcessingResponse, error)
HandleResponseBody processes the outgoing HTTP response body and modifies it.
Click to show internal directories.
Click to hide internal directories.