Method SSL.File()->create()
- Method create
SSL.File SSL.File(Stdio.Filestream,SSL.Contextctx)- Description
Create an SSL connection over an open
stream.- Parameter
stream Open socket or pipe to create the connection over.
- Parameter
ctx The SSL context.
The backend used by
streamis taken over and restored after the connection is closed (see close and shutdown). The callbacks and id instreamare overwritten.- Note
The operation mode defaults to nonblocking mode.
- See also