pub struct Server { /* private fields */ }
Expand description
A fully kitted-callback handling server that can handle async communication over HTTP-Webhooks
Implementations§
Source§impl Server
impl Server
Sourcepub fn start<A: Into<SocketAddr>>(addr: A) -> Self
pub fn start<A: Into<SocketAddr>>(addr: A) -> Self
Sourcepub fn start_with_proxy<A: Into<SocketAddr>>(addr: A, proxy: Url) -> Self
pub fn start_with_proxy<A: Into<SocketAddr>>(addr: A, proxy: Url) -> Self
Create a callback server but with a proxy URL that will forward traffic
there. E.g. you could use ngrok
to tunnel a public Url to your
development server’s fish::Server
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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