Timber v1.1.4 Timber.Events.HTTPClientResponseEvent
The HTTPClientResponseEvent
tracks responses for outgoing HTTP requests. This gives you
structured insight into communication with external services.
See Timber.Events.HTTPClientRequestEvent
for examples on track the entire HTTP request
lifecycle.
Summary
Functions
Message to be used when logging
Builds a new struct taking care to
Convenience methods for creating an event and getting the message at the same time
Types
Functions
Message to be used when logging.
Builds a new struct taking care to:
- Truncate the body if it is too large.
- Normalize header values so they are consistent.
- Removes “” or nil values.
Convenience methods for creating an event and getting the message at the same time.