[doc] Use "param" instead of "code" to refer to parameters (4)
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
<param index="2" name="for_hostname" type="String" default="""" />
|
||||
<param index="3" name="valid_certificate" type="X509Certificate" default="null" />
|
||||
<description>
|
||||
Connects a [code]peer[/code] beginning the DTLS handshake using the underlying [PacketPeerUDP] which must be connected (see [method PacketPeerUDP.connect_to_host]). If [code]validate_certs[/code] is [code]true[/code], [PacketPeerDTLS] will validate that the certificate presented by the remote peer and match it with the [code]for_hostname[/code] argument. You can specify a custom [X509Certificate] to use for validation via the [code]valid_certificate[/code] argument.
|
||||
Connects a [param packet_peer] beginning the DTLS handshake using the underlying [PacketPeerUDP] which must be connected (see [method PacketPeerUDP.connect_to_host]). If [param validate_certs] is [code]true[/code], [PacketPeerDTLS] will validate that the certificate presented by the remote peer and match it with the [param for_hostname] argument. You can specify a custom [X509Certificate] to use for validation via the [param valid_certificate] argument.
|
||||
</description>
|
||||
</method>
|
||||
<method name="disconnect_from_peer">
|
||||
|
||||
Reference in New Issue
Block a user