[ Version ( since = "0.14.0" ) ]
public bool host_path_for_agent (string local_path, string server_path, Regex user_agent)
Use this method to serve different local path to specific user-agent(s).
The path server_path must already be hosted by this.
| this |
A Context |
| local_path |
Path to the local file or folder to be hosted |
| server_path |
Web server path already being hosted |
| user_agent |
The user-agent as a Regex. |
|
true on success, false otherwise. |