wampy.messages.goodbye module

class goodbye.Goodbye(details=None, reason='wamp.close.normal')[source]

Bases: object

Send a GOODBYE message to the Router.

Message is of the format [GOODBYE, Details|dict, Reason|uri], e.g.

[
    GOODBYE, {}, "wamp.close.normal"
]
DEFAULT_REASON = 'wamp.close.normal'
WAMP_CODE = 6
message
name = 'goodbye'