Skip to content

Update the Readme with example for "With event objects" #14

@wandererfrog

Description

@wandererfrog

Add in the example how to add the event name

server.route({
    method: 'GET',
    path: '/',
    handler: function (request, reply) {

        reply.event({ event : 'event_name' ,  data: 'my data' });
    }
});

It got me confused...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions