hostname

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

The hostname of the Fastly cache server which is executing the current instance, for example, cache-jfk1034.

Equivalent to the "FASTLY_HOSTNAME" environment variable and to server.hostname in VCL.

Returns

&str