| handle_response/4 | Selects an appropriate action from the given response()
and acts on it (sends it to the user agent, etc.). |
| serve/3 | Serves a resource to the client. |
handle_response(Response::response(), Conf::conf(), Http::http(), MasterDict::master_dict()) -> {ok, conf()}
Selects an appropriate action from the given response()
and acts on it (sends it to the user agent, etc.)
serve(Http::http(), Conf::conf(), MasterDict::master_dict()) -> conf()
Serves a resource to the client. Determines which resource the client wanted, then sends it to the user agent. Before and after this determination, notifies a watching process (if any).