[−][src]Function actix_webpack_proxy::ws_resource
pub fn ws_resource<P>() -> Resource where
P: Proxy + 'static,
The websocket resource for hot-reloading
Webpack's dev server uses websockets in order to notify the web-app of new code and peform a hot-reload. This resource proxies requests to the webpack websocket endpoint.