Skip to main content

install

Function install 

Source
pub fn install(context: RequestContext) -> Option<RequestContext>
Expand description

Install context on this thread for good, and give back whatever was there.

This is for a surface whose thread answers one address for its whole life: a page in a browser is loaded from an address and keeps it until it is navigated away from. A renderer answering one request after another uses enter instead, so each render gets its own.