StreamPeerSSL

SSL Stream peer.

This object can be used to connect to SSL servers.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants
Status
enum Status

Functions

acceptStream
GodotError acceptStream(StreamPeer base)
connectToStream
GodotError connectToStream(StreamPeer stream, bool validate_certs, StringArg2 for_hostname)

Connect to a peer using an underlying StreamPeer "stream", when "validate_certs" is true, StreamPeerSSL will validate that the certificate presented by the peer matches the "for_hostname".

disconnectFromStream
void disconnectFromStream()

Disconnect from host.

getStatus
StreamPeerSSL.Status getStatus()

Return the status of the connection, one of STATUS_* enum.

isBlockingHandshakeEnabled
bool isBlockingHandshakeEnabled()
opAssign
StreamPeerSSL opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(StreamPeerSSL other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
poll
void poll()

Poll the connection to check for incoming bytes. Call this right before "get_available_bytes()" for it to work properly.

setBlockingHandshakeEnabled
void setBlockingHandshakeEnabled(bool enabled)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

blockingHandshake
bool blockingHandshake [@property getter]
bool blockingHandshake [@property setter]

Static functions

_new
StreamPeerSSL _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta