Implemented forwarding of requests to the master

Implement the forwardTo function for requests to the master server.
This commit is contained in:
Hornwitser committed 2020-03-13 22:46:17 +01:00
1 parent 5681ef9733
commit 6a8346186f
3 files changed
+15 -6

No files matched your search

+2 -2
View File
@@ -408,8 +408,8 @@ The following properties are recognized by the Request constructor:
Target to forward request to. Can be either `'master'` to indicate
a slave should forward it to the master server when receiving it
from an instance or `'instance'` to indicate it should be forwarded
to the instances specified by the `instance_id` event property.
This works by using a default handler for the event at the links
to the instances specified by the `instance_id` request property.
This works by using a default handler for the request at the links
that forward it.
**requestProperties**: