nat.test.functions#
Classes#
Workflow function that reads a named request header from context and returns it as the response. |
Functions#
|
|
|
|
|
|
|
|
|
Module Contents#
- class EchoFunctionConfig#
- async echo_function(
- config: EchoFunctionConfig,
- builder: nat.builder.builder.Builder,
- class StreamingEchoFunctionConfig#
- async streaming_function(
- config: StreamingEchoFunctionConfig,
- builder: nat.builder.builder.Builder,
- class ConstantFunctionConfig#
- async constant_function(
- config: ConstantFunctionConfig,
- builder: nat.builder.builder.Builder,
- class StreamingConstantFunctionConfig#
- async streaming_constant_function(
- config: StreamingConstantFunctionConfig,
- builder: nat.builder.builder.Builder,
- class HeaderCaptureFunctionConfig#
Bases:
nat.data_models.function.FunctionBaseConfigWorkflow function that reads a named request header from context and returns it as the response.
- async header_capture_function(
- config: HeaderCaptureFunctionConfig,
- builder: nat.builder.builder.Builder,