[Top]
SSL
SSL.sslfile
|
Method SSL.sslfile()->write()
- Method
write
-
int write(string|array(string) data, mixed ... args)
- Description
-
Write some (unencrypted) data to the connection. Works like
Stdio.File.write except that this function often buffers some data
internally, so there's no guarantee that all the consumed data has
been successfully written to the stream in nonblocking mode. It
keeps the internal buffering to a minimum, however.
- Note
-
This function returns zero if attempts are made to write data
during the handshake phase and the mode is nonblocking.
- Note
-
I/O errors from both reading and writing might occur in blocking
mode.
|