pub struct HttpComponent { /* private fields */ }Implementations§
Source§impl HttpComponent
impl HttpComponent
pub fn new() -> Self
pub fn with_config(config: HttpConfig) -> Self
pub fn with_optional_config(config: Option<HttpConfig>) -> Self
Trait Implementations§
Source§impl Component for HttpComponent
impl Component for HttpComponent
Source§fn create_endpoint(
&self,
uri: &str,
_ctx: &dyn ComponentContext,
) -> Result<Box<dyn Endpoint>, CamelError>
fn create_endpoint( &self, uri: &str, _ctx: &dyn ComponentContext, ) -> Result<Box<dyn Endpoint>, CamelError>
Create an endpoint from a URI string.
Auto Trait Implementations§
impl Freeze for HttpComponent
impl !RefUnwindSafe for HttpComponent
impl Send for HttpComponent
impl Sync for HttpComponent
impl Unpin for HttpComponent
impl UnsafeUnpin for HttpComponent
impl !UnwindSafe for HttpComponent
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