1
0
Fork 0
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:
postmannen 2023-06-14 06:53:42 +02:00
parent 4c7ec43da2
commit e090c4d0c8

View file

@ -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.