NAME

JMAP::Tester::WebSocket - a WebSocket JMAP client made for testing JMAP servers

VERSION

version 0.004

SYNOPSIS

use JMAP::Tester::WebSocket;

my $jtest = JMAP::Tester::WebSocket->new({
  ws_uri => 'ws://jmap.local/account/123',
});

my $response = $jtest->request([
  [ getMailboxes => {} ],
  [ getMessageUpdates => { sinceState => "123" } ],
]);

DESCRIPTION

This module provides a WebSockets wrapper around JMAP::Tester.

See JMAP::Tester for more information.

SEE ALSO

JMAP::Tester - a JMAP client made for testing JMAP servers

AUTHOR

Matthew Horsfall <wolfsage@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by FastMail, Ltd.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.