Skip to main content

STATUS_SUBSCRIPTION

Constant STATUS_SUBSCRIPTION 

Source
pub const STATUS_SUBSCRIPTION: u16 = 209;
Expand description

HTTP status code for subscription updates (Section 4).

The server sends this status code (209) when responding to a subscription request. The connection remains open and updates are streamed as they occur.

ยงExample

use crate::protocol::STATUS_SUBSCRIPTION;

assert_eq!(STATUS_SUBSCRIPTION, 209);