Struct boringssl::Client
[−]
[src]
pub struct Client { // some fields omitted }
Methods
impl Client
[src]
fn new_socket(ctx: &Context, fd: RawFd) -> Result<Client>
fn handshake(&mut self) -> Result<()>
If <0 is returned, it must be called again when the underlying stream is ready to contiue the handshake.
fn set_hostname(&mut self, hostname: &str) -> Result<()>
Configures ssl to advertise name in the server_name extension (RFC 3546).