ssl client bit of work

This commit is contained in:
2022-01-14 01:00:03 +01:00
parent cd930f6b7b
commit bab67f70f9
4 changed files with 154 additions and 106 deletions

View File

@@ -79,7 +79,7 @@
|`(read-file filename)`|Get the contents of a file||
|`(read-file-lines filename lambda)`|Reads file and for each line call lambda with passing the line as a parameter|`(read-file-lines "/tmp/f.txt" (lambda (ln) (print ln))`|
|`(write-file filename content-str)`|Write a string to a file||
|`(read-url url [headers])`|Reads URL|Returns list (status-code content)|
|`(read-url url [headers] [body] [method])`|Reads URL|Returns list (status-code content)|
|`(system-cmd command_str)`|Execute system command||
|`(ls-dir dir)`|List a dir|List of directory entries|
|`(is-file? filename)`|Returns true if passed filename is a file||