semvec/pypi-packages huggingface dataset:
signalman 0.1.17
A small application to poll for response code or text
Requires Python: >=3.6

# signalman
A small application to poll a remote endpoint for response code or text.

## How to use signalman

`signalman --timeout 60 --endpoint google.com --port 80 --rc 200` will run a test for 60 minutes until google.com returns a HTTP 200 on port 80


## Parameter List

| Syntax | Description |
| ----------- | ----------- |
| --timeout | Timeout for Signalman in minutes |
| --endpoint | URL to test against |
| --port (optional) | Port to test against |
| --r-type | Return type you are expecting, choose from text, json or code |
| --r-value | Return value of type selected as --r-type, if using `json` then use the format key:value, currently only a single key pair is supported |
| --ssl (optional) | Use SSL/TLS |
| --headers (optional) | Any headers which need to be included - for example to request Content-Type: application/json use `Content-Type:application/json` |
| --debug (optional) | Print request and response headers and response body