Skip to main content

API_PREFIX

Constant API_PREFIX 

Source
pub const API_PREFIX: &str = "/v1";
Expand description

Current HTTP wire-contract prefix.

The pre-public V1 contract uses canonical textual identifiers. Keeping the prefix here makes client and server select the same contract without duplicating a magic string.