SnpSend - fullphat/snarl_network_protocol GitHub Wiki
A libSnp client for Windows
Copyright (c) 2018 full phat products
NO WARRANTY. USE ONLY AS DIRECTED.
SnpSend is a command-line tool that can send various SNP 2.0 and 3.1 requests to a remote or local server running Snarl.
Requires .net 4.0 (or later) and libSnp 1.x.
snpSend <host> <port> [options...]
Note: (F) means FORWARD, (N) NOTIFY, (R) register, (S) subscribe
Option | Description |
---|---|
-F |
Generate FORWARD message |
-N |
Generate NOTIFY message |
-R |
Generate REGISTER message |
-S |
Generate SUBSCRIBE message |
-a |
application id (R,N) |
-b |
notification body (F,N) |
-d |
data-* entry (F,N) |
-f |
forward-to URL (F,N,S) |
-i |
icon (F,N,R) |
-p |
priority (F,N) |
-r |
reply port (F,N,S) |
-s |
source (F) |
-t |
title (F,N,R) |
-u |
uid (F,N) |
-v |
Enable verbose mode |
-w |
password (F,N,R,S) |
-x |
x-* header (F,N) |
-2 |
Use SNP 2.0 |
-
host
can be an IP address, host name, or '.' (localhost) - If the
-2
option is used, the following parameter must be the full request in Snarl API format, no other options (except-v
) are supported
- 1.0
- Initial release