service_id

Functionin compute_runtimefastly 0.13.1View source
fn service_id() -> &'static str

The identifier for the Fastly service that is processing the current request.

Equivalent to the "FASTLYSERVICEID" environment variable and to req.service_id in VCL.

Returns

&str