MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / as_int

Method as_int

src/client/typing/status.rs:12–14  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

10 /// Return the status code as an integer.
11 #[inline]
12 pub const fn as_int(&self) -> u16 {
13 self.0.as_u16()
14 }
15
16 /// Check if status is within 100-199.
17 #[inline]

Callers 3

statusMethod · 0.80
okMethod · 0.80
statusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected