JMAP::Tester::WebSocket - a WebSocket JMAP client made for testing JMAP servers
version 0.003
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" } ], ]);
This module provides a WebSockets wrapper around JMAP::Tester.
See JMAP::Tester for more information.
JMAP::Tester - a JMAP client made for testing JMAP servers
Matthew Horsfall <wolfsage@gmail.com>
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.
To install JMAP::Tester::WebSocket, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JMAP::Tester::WebSocket
CPAN shell
perl -MCPAN -e shell install JMAP::Tester::WebSocket
For more information on module installation, please visit the detailed CPAN module installation guide.