Skip to main content

build_router

Function build_router 

Source
pub fn build_router() -> Router
Expand description

Build the intake router. /api/v2/series fires payload assertions. Datadog endpoints answer 202. A malformed body gets 400. An oversized body gets 413. Unmatched paths answer 200.