Rocket/contrib/ws/src
Benedikt Weber 055ad107df Allow status customization in 'Forward' outcomes.
Prior to this commit, all forward outcomes resulted in a 404. This
commit changes request and data guards so that they are able to provide
a `Status` on `Forward` outcomes. The router uses this status, if the
final outcome is to forward, to identify the catcher to invoke.

The net effect is that guards can now customize the status code of a
forward and thus the error catcher invoked if the final outcome of a
request is to forward.

Resolves #1560.
2023-04-11 12:47:20 -07:00
..
duplex.rs Fully document the 'ws' contrib crate. 2023-04-03 16:09:45 -07:00
lib.rs Fully document the 'ws' contrib crate. 2023-04-03 16:09:45 -07:00
websocket.rs Allow status customization in 'Forward' outcomes. 2023-04-11 12:47:20 -07:00