WorkerLocation

Struct WorkerLocation 

Source
pub struct WorkerLocation { /* private fields */ }
Expand description

The WorkerLocation class.

MDN Documentation

This API requires the following crate features to be activated: WorkerLocation

Implementations§

Source§

impl WorkerLocation

Source

pub fn href(&self) -> String

Getter for the href field of this object.

MDN Documentation

This API requires the following crate features to be activated: WorkerLocation

Source§

impl WorkerLocation

Source

pub fn origin(&self) -> String

Getter for the origin field of this object.

MDN Documentation

This API requires the following crate features to be activated: WorkerLocation

Source§

impl WorkerLocation

Source

pub fn protocol(&self) -> String

Getter for the protocol field of this object.

MDN Documentation

This API requires the following crate features to be activated: WorkerLocation

Source§

impl WorkerLocation

Source

pub fn host(&self) -> String

Getter for the host field of this object.

MDN Documentation

This API requires the following crate features to be activated: WorkerLocation

Source§

impl WorkerLocation

Source

pub fn hostname(&self) -> String

Getter for the hostname field of this object.

MDN Documentation

This API requires the following crate features to be activated: WorkerLocation