Struct webhook_router::Router[][src]

pub struct Router { /* fields omitted */ }
Expand description

A router for the Iron framework.

Drops JSON objects which are received via POST into a directory using the current date as the filename.

Implementations

Create a new router for a path.

Handle an incoming HTTP request.

This ends up deserializing the data as JSON if it validates. It is passed in as bytes to avoid forcing deserialization on the caller.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.