Skip to main content

service

Function service 

Source
pub fn service(state: AppState, cors: CorsPolicy) -> impl Service
Expand description

Create the concrete two-endpoint service. EggServe rejects request bodies before this handler runs and normalizes HEAD framing at the wire boundary.