mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
updated readme for request methods writing to sockets
This commit is contained in:
parent
4c7ec43da2
commit
e090c4d0c8
1 changed files with 4 additions and 0 deletions
|
@ -790,6 +790,8 @@ If the value of the **directory** field is not prefixed with `./` or `/` the dir
|
|||
]
|
||||
```
|
||||
|
||||
If there is already a file at the specified path with the specified name, and if that file is a socket, then the request method will automatically switch to socket communication and write to the socket instead of normal file writing.
|
||||
|
||||
#### REQToFile
|
||||
|
||||
Write the output of the reply message to a file specified with the `directory` and `fileName` fields, where the writing will write over any existing content of that file.
|
||||
|
@ -809,6 +811,8 @@ If the value of the **directory** field is not prefixed with `./` or `/` the dir
|
|||
]
|
||||
```
|
||||
|
||||
If there is already a file at the specified path with the specified name, and if that file is a socket, then the request method will automatically switch to socket communication and write to the socket instead of normal file writing.
|
||||
|
||||
#### REQToFileNACK
|
||||
|
||||
Same as REQToFile, but will not send an ACK when a message is delivered.
|
||||
|
|
Loading…
Reference in a new issue