Constructs a new ServerHello.
Optional properties: IServerHelloProperties to set
ServerHello ephemeral.
ServerHello payload.
ServerHello static.
Static createCreates a new ServerHello instance using the specified properties.
Optional properties: IServerHelloProperties to set
ServerHello instance
Static decodeDecodes a ServerHello message from the specified reader or buffer.
Reader or buffer to decode from
Optional length: numberMessage length if known beforehand
ServerHello
If the payload is not a reader or valid buffer
If required fields are missing
Static decodeDecodes a ServerHello message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ServerHello
If the payload is not a reader or valid buffer
If required fields are missing
Static encodeEncodes the specified ServerHello message. Does not implicitly verify messages.
ServerHello message or plain object to encode
Optional writer: WriterWriter to encode to
Writer
Static encodeEncodes the specified ServerHello message, length delimited. Does not implicitly verify messages.
ServerHello message or plain object to encode
Optional writer: WriterWriter to encode to
Writer
Static fromCreates a ServerHello message from a plain object. Also converts values to their respective internal types.
Plain object
ServerHello
Static toCreates a plain object from a ServerHello message. Also converts values to other types if specified.
ServerHello
Optional options: IConversionOptionsConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents a ServerHello.