Skip to main content

EdgeWorkerPhase

The request lifecycle phases an edge worker can run in.

enum EdgeWorkerPhase {
client_request
client_response
origin_request
origin_response
}

Values​

EdgeWorkerPhase.client_request​

Run when the client request is received at the edge.

EdgeWorkerPhase.client_response​

Run before the response is sent back to the client.

EdgeWorkerPhase.origin_request​

Run before the request is forwarded to the origin.

EdgeWorkerPhase.origin_response​

Run when the origin response is received at the edge.

Member Of​

EdgeWorker object ● EdgeWorkerValidationResult object