promise() = OBJ->shake_hands()
See the method of the same name in Net::mbedTLS::Connection. The returned promise resolves (empty) when the handshake is complete.
promise($count) = OBJ->read_any( $OUTPUT_BUFFER )
Like read()
in Net::mbedTLS::Connection.
promise() = OBJ->read_all( $OUTPUT_BUFFER )
Like read_any()
above but won’t resolve until the entire $OUTPUT_BUFFER has been written to. The returned promise resolves empty.
promise($count) = OBJ->write_any( $OUTPUT_BUFFER )
Writes as much of $OUTPUT_BUFFER as possible. The returned promise resolves with the number of bytes written. (It won’t resolve until at least one byte is written.)
promise() = OBJ->write_all( $OUTPUT_BUFFER )
Like write_any()
, but the returned promise won’t resolve until all of $OUTPUT_BUFFER is sent. The returned promise resolves empty.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 83:
Non-ASCII character seen before =encoding in 'won’t'. Assuming UTF-8