Skip to content

Commit

Permalink
Add some basic documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfsage committed Dec 4, 2018
1 parent f605aca commit b57b5f9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lib/JMAP/Tester/WebSocket.pm
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,29 @@ sub _jresponse_from_wsresponse {
}

1;
__END__
=head1 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" } ],
]);
=head1 DESCRIPTION
This module provides a WebSockets wrapper around L<JMAP::Tester>.
See L<JMAP::Tester> for more information.
=head1 SEE ALSO
L<JMAP::Tester> - a JMAP client made for testing JMAP servers
=cut

0 comments on commit b57b5f9

Please sign in to comment.