pub const KEEPALIVE_TIMEOUT_SECONDS: Duration;
Expand description

Since we can’t use format!() with constants, the URLs here are just for reference purposes pub const REGISTER_GCM_PATH: &str = “/v1/accounts/gcm/”; pub const TURN_SERVER_INFO: &str = “/v1/accounts/turn”; pub const SET_ACCOUNT_ATTRIBUTES: &str = “/v1/accounts/attributes/”; pub const PIN_PATH: &str = “/v1/accounts/pin/”; pub const REQUEST_PUSH_CHALLENGE: &str = “/v1/accounts/fcm/preauth/%s/%s”; pub const WHO_AM_I: &str = “/v1/accounts/whoami”;

pub const PREKEY_PATH: &str = “/v2/keys/%s”; pub const PREKEY_DEVICE_PATH: &str = “/v2/keys/%s/%s”; pub const SIGNED_PREKEY_PATH: &str = “/v2/keys/signed”;

pub const PROVISIONING_CODE_PATH: &str = “/v1/devices/provisioning/code”; pub const PROVISIONING_MESSAGE_PATH: &str = “/v1/provisioning/%s”;

pub const DIRECTORY_TOKENS_PATH: &str = “/v1/directory/tokens”; pub const DIRECTORY_VERIFY_PATH: &str = “/v1/directory/%s”; pub const DIRECTORY_AUTH_PATH: &str = “/v1/directory/auth”; pub const DIRECTORY_FEEDBACK_PATH: &str = “/v1/directory/feedback-v3/%s”; pub const SENDER_ACK_MESSAGE_PATH: &str = “/v1/messages/%s/%d”; pub const UUID_ACK_MESSAGE_PATH: &str = “/v1/messages/uuid/%s”; pub const ATTACHMENT_PATH: &str = “/v2/attachments/form/upload”;

pub const PROFILE_PATH: &str = “/v1/profile/”;

pub const SENDER_CERTIFICATE_LEGACY_PATH: &str = “/v1/certificate/delivery”; pub const SENDER_CERTIFICATE_PATH: &str = “/v1/certificate/delivery?includeUuid=true”;

pub const VERIFICATION_SESSION_PATH: &str = “/v1/verification/session”; pub const VERIFICATION_CODE_PATH: &str = “/v1/verification/session/%s/code”;

pub const REGISTRATION_PATH: &str = “/v1/registration”;

pub const ATTACHMENT_DOWNLOAD_PATH: &str = “attachments/%d”;

pub const STICKER_MANIFEST_PATH: &str = “stickers/%s/manifest.proto”; pub const STICKER_PATH: &str = “stickers/%s/full/%d”;