package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gio/Ocgtk_gio/Gio/Dtls_connection/class-dtls_connection/index.html

Class Dtls_connection.dtls_connection

method on_accept_certificate : ?after:bool -> callback: (peer_cert:Ocgtk_gio__.GTls_certificate.tls_certificate_t -> errors:Ocgtk_gio__.Gio_enums.tlscertificateflags -> bool) -> unit -> Gobject.Signal.handler_id
method close : Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method close_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method emit_accept_certificate : Ocgtk_gio__.GTls_certificate.tls_certificate_t -> Ocgtk_gio__.Gio_enums.tlscertificateflags -> bool
method get_certificate : unit -> Ocgtk_gio__.GTls_certificate.tls_certificate_t option
method get_ciphersuite_name : unit -> string option
method get_database : unit -> Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_database_t option
method get_interaction : unit -> Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_interaction_t option
method get_negotiated_protocol : unit -> string option
method get_peer_certificate : unit -> Ocgtk_gio__.GTls_certificate.tls_certificate_t option
method get_peer_certificate_errors : unit -> Ocgtk_gio__.Gio_enums.tlscertificateflags
method get_protocol_version : unit -> Ocgtk_gio__.Gio_enums.tlsprotocolversion
method get_rehandshake_mode : unit -> Ocgtk_gio__.Gio_enums.tlsrehandshakemode
method get_require_close_notify : unit -> bool
method handshake : Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method handshake_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method set_advertised_protocols : string array option -> unit
method set_certificate : Ocgtk_gio__.GTls_certificate.tls_certificate_t -> unit
method set_database : Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_database_t option -> unit
method set_interaction : Ocgtk_gio__.GTls_connection_and__tls_database_and__tls_interaction.tls_interaction_t option -> unit
method set_rehandshake_mode : Ocgtk_gio__.Gio_enums.tlsrehandshakemode -> unit
method set_require_close_notify : bool -> unit
method shutdown : bool -> bool -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method shutdown_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method base_socket : Ocgtk_gio__.GDatagram_based.datagram_based_t
method as_dtls_connection : Ocgtk_gio__.Dtls_connection.t