Function eof [src]

Prototype

pub fn eof(c: Client) bool

Parameters

c: Client

Source

pub fn eof(c: Client) bool { return c.received_close_notify and c.partial_cleartext_idx >= c.partial_ciphertext_idx and c.partial_ciphertext_idx >= c.partial_ciphertext_end; }