http_request/response/
type.rs

1use crate::*;
2
3/// A type alias for a boxed dynamic trait object implementing the `ResponseTrait` trait.
4///
5/// This alias defines a `ResponseTrait` as a `Box` containing any type that implements the
6/// `ResponseTrait` trait, with associated types `OutputText` set to `HttpResponseText`
7/// and `OutputBinary` set to `HttpResponseBinary`. It allows for flexible handling of
8/// HTTP responses that can be either in text or binary format.
9pub type BoxResponseTrait =
10    Box<dyn ResponseTrait<OutputText = HttpResponseText, OutputBinary = HttpResponseBinary>>;