Skip to content

enum Athena::Mercure::ProtocolVersion #

The version of the Mercure protocol a hub speaks.

Members#

Legacy = 0#

The Mercure protocol 0.x, spoken by hubs before 1.0.

V1 = 1#

The Mercure protocol 1.0.

Methods#

Returns the name of the cookie subscribers are authorized with by default.

View source

#legacy?#

Returns true if this enum value equals Legacy

View source

#v1?#

Returns true if this enum value equals V1

View source