Package io.github.mahmoudimus.quic.tls
Interface ExtensionSpec.Body
- All Known Subinterfaces:
ExtensionSpec.WholeHelloBody
- Enclosing class:
ExtensionSpec
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Makes an extension's body for one hello.
-
Method Summary
-
Method Details
-
encode
The body for this hello.- Parameters:
context- the hello's per-connection inputs- Returns:
- the body, or null to leave the extension out of this hello
-