External Processing Client

This module provides an example of requests to a callout service with ProcessingRequest json data.

callouts.python.extproc.example.ext_proc_client.make_json_request(json_list: list[str], address: tuple[str, int], key: str | None = None) Iterator[envoy.service.ext_proc.v3.external_processor_pb2.ProcessingResponse][source]

Make requests to a callout service with ProcessingRequest json data.

Parameters:
  • json_list – A list of json strings representing ProcessingRequest data.

  • address – ip address of the callout server.

  • key – Local filepath to a chain authentication certificate.

Returns:

An iterator containing each response.