# observe\_request\_context/3

Source: https://zotonic.com/docs/1442/observe_request_context-3

URI: https://zotonic.com/id/1442

Language: en



Refresh the context or request process for the given request or action

Called for every request that is not anonymous and before every MQTT relay from the client. Example: mod\_development uses this to set flags in the process dictionary.

Type:

[foldl](/id/doc_developerguide_notifications#notification-foldl)

Return:

`#context{}`

`#request_context{}` properties:

- phase: `union`
- document: `map`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1442?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1442?language=en>)
