MCPcopy Create free account
hub / github.com/OctaneWeb/Octane / headers_sent

Method headers_sent

src/responder.rs:315–317  ·  view source on GitHub ↗

Tells if the headers are sent or not # Example ``` use octane::prelude::*; let mut app = Octane::new(); app.get( "/", route!(|req, res| { assert_eq!(false, res.headers_sent()); res.send("Hello, World"); assert_eq!(true, res.headers_sent()); Flow::Stop }), ); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected