letsencrypt::Client method readFile (protected)

 <instance of letsencrypt::Client[i]> readFile [ -binary ] fileName

Defined in /usr/local/ns/tcl/letsencrypt/letsencrypt-procs.tcl

Switches:
-binary (optional, defaults to "f")
Parameters:
fileName (required)

Testcases:
No testcase defined.
Source code:
set F [open $fileName r]
if {$binary} { fconfigure $F -encoding binary -translation binary }
set content [read $F]
close $F
return $content
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: