Handler registration for rpc?

#1

I’ve been able to play around with Procedure and Method registrations, but I haven’t had to good of luck with the Handler registration. How do they work? Is there something in the reference manual that shows the syntax of a Handler?

-g

0 Likes

#2

I've been able to play around with Procedure and Method registrations,
but I haven't had to good of luck with the Handler registration. How do
they work? Is there something in the reference manual that shows the
syntax of a Handler?

I thought we had an example in the repo, but it's only for custom PubSub handlers. 1st omission;(

The available registerXXX methods are here:

https://autobahnpython.readthedocs.org/en/latest/wampserver.html#protocol

But that again doesn't document the actual signature of the handlers those registerXXX methods register. 2nd omission;(

It might help to read a little in Crossbar.io code:

https://github.com/crossbario/crossbar/blob/master/crossbar/crossbar/netservice/hubwebsocket.py#L340

https://github.com/crossbario/crossbar/blob/master/crossbar/crossbar/bridge/dbremoter.py#L181

/Tobias

···

Am 07.12.2013 21:31, schrieb Greg Fausak:

-g

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Likes