pub struct HttpPlainMessageSender { /* private fields */ }Expand description
HTTP message sender implementation for sending messages over HTTP
This sender allows TAP nodes to send messages to other TAP nodes over HTTP, handling the necessary encoding, content types, and error handling.
§HTTP Endpoint Structure
PlainMessages are sent to endpoints derived from the recipient’s DID, using a configurable base URL.
§Error Handling
The sender includes built-in error handling for common HTTP issues:
- Connection timeouts
- Request failures
- Invalid responses
- Rate limiting
§Configuration
The sender can be configured with:
- Base URL for the HTTP endpoint
- Timeout settings
- Retry policies
Implementations§
Trait Implementations§
Source§impl Debug for HttpPlainMessageSender
impl Debug for HttpPlainMessageSender
Auto Trait Implementations§
impl Freeze for HttpPlainMessageSender
impl !RefUnwindSafe for HttpPlainMessageSender
impl Send for HttpPlainMessageSender
impl Sync for HttpPlainMessageSender
impl Unpin for HttpPlainMessageSender
impl !UnwindSafe for HttpPlainMessageSender
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more