(&self, protos: ArgBytesLike, vm: &VirtualMachine)
| 1494 | |
| 1495 | #[pymethod] |
| 1496 | fn _set_alpn_protocols(&self, protos: ArgBytesLike, vm: &VirtualMachine) -> PyResult<()> { |
| 1497 | let bytes = protos.borrow_buf(); |
| 1498 | let alpn_list = parse_length_prefixed_alpn(&bytes, vm)?; |
| 1499 | *self.alpn_protocols.write() = alpn_list; |
| 1500 | Ok(()) |
| 1501 | } |
| 1502 | |
| 1503 | #[pymethod] |
| 1504 | fn set_ciphers(&self, ciphers: PyUtf8StrRef, vm: &VirtualMachine) -> PyResult<()> { |
no test coverage detected