TelemetryProcessor Class
Application Insights Telemetry Processor base class for Bot
Constructor
TelemetryProcessor()
Methods
| can_process |
Whether the processor can process the request body. :return: True if the request body can be processed, False otherwise. :rtype: bool |
| get_request_body |
Retrieve the request body from flask/django middleware component. |
can_process
Whether the processor can process the request body. :return: True if the request body can be processed, False otherwise. :rtype: bool
abstract can_process() -> bool
get_request_body
Retrieve the request body from flask/django middleware component.
abstract get_request_body() -> str
Attributes
activity_json
Retrieve the request body as json (Activity).