LP#1631522: dev doc now describes ->dispatch
authorGalen Charlton <gmc@esilibrary.com>
Tue, 1 Nov 2016 21:20:49 +0000 (17:20 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 1 Nov 2016 21:20:49 +0000 (17:20 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

doc/Application-HOWTO.txt

index 41deae1..36e508d 100644 (file)
@@ -22,8 +22,12 @@ sends to the client:
 
   my ($subresult) = $meth->run( @params )
                    # runs the subrequest method and returns the array of
-                  # results
+                   # results
 
+  return $meth->dispatch( @params )
+                   # like ->run, but control of the session is passed to
+                   # to the delegated method, whose responses are sent
+                   # directly to the original client
 
 The method is also handed an OpenSRF::AppRequest object that has been
 constructed for the client request that generated the call to the method.