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/Socket_client/class-socket_client/index.html

Class Socket_client.socket_client

method on_event : ?after:bool -> callback: (event:Ocgtk_gio__.Gio_enums.socketclientevent -> connectable: Ocgtk_gio__.GSocket_address_and__socket_address_enumerator_and__socket_connectable.socket_connectable_t -> connection:Ocgtk_gio__.GIo_stream.io_stream_t option -> unit) -> unit -> Gobject.Signal.handler_id
method add_application_proxy : string -> unit
method connect : Ocgtk_gio__.GSocket_address_and__socket_address_enumerator_and__socket_connectable.socket_connectable_t -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method connect_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method connect_to_host : string -> UInt16.t -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method connect_to_host_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method connect_to_service : string -> string -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method connect_to_service_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method connect_to_uri : string -> UInt16.t -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method connect_to_uri_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GSocket_and__socket_connection.socket_connection_t, GError.t) result
method get_enable_proxy : unit -> bool
method get_family : unit -> Ocgtk_gio__.Gio_enums.socketfamily
method get_local_address : unit -> Ocgtk_gio__.GSocket_address_and__socket_address_enumerator_and__socket_connectable.socket_address_t option
method get_protocol : unit -> Ocgtk_gio__.Gio_enums.socketprotocol
method get_proxy_resolver : unit -> Ocgtk_gio__.GProxy_resolver.proxy_resolver_t
method get_socket_type : unit -> Ocgtk_gio__.Gio_enums.sockettype
method get_timeout : unit -> int
method get_tls : unit -> bool
method get_tls_validation_flags : unit -> Ocgtk_gio__.Gio_enums.tlscertificateflags
method set_enable_proxy : bool -> unit
method set_family : Ocgtk_gio__.Gio_enums.socketfamily -> unit
method set_local_address : Ocgtk_gio__.GSocket_address_and__socket_address_enumerator_and__socket_connectable.socket_address_t option -> unit
method set_protocol : Ocgtk_gio__.Gio_enums.socketprotocol -> unit
method set_proxy_resolver : Ocgtk_gio__.GProxy_resolver.proxy_resolver_t option -> unit
method set_socket_type : Ocgtk_gio__.Gio_enums.sockettype -> unit
method set_timeout : int -> unit
method set_tls : bool -> unit
method set_tls_validation_flags : Ocgtk_gio__.Gio_enums.tlscertificateflags -> unit
method type_ : Ocgtk_gio__.Gio_enums.sockettype
method set_type : Ocgtk_gio__.Gio_enums.sockettype -> unit
method as_socket_client : Ocgtk_gio__.Socket_client.t