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/Wrappers/Proxy_address/index.html

Module Wrappers.Proxy_address

type t = [ `proxy_address | `inet_socket_address | `socket_address | `object_ ] Gobject.obj
val new_ : [ `inet_address | `object_ ] Gobject.obj -> UInt16.t -> string -> string -> UInt16.t -> string option -> string option -> t

Create a new ProxyAddress

val get_username : t -> string option

Gets @proxy's username.

val get_uri : t -> string option

Gets the proxy URI that @proxy was constructed from.

val get_protocol : t -> string

Gets @proxy's protocol. eg, "socks" or "http"

val get_password : t -> string option

Gets @proxy's password.

val get_destination_protocol : t -> string

Gets the protocol that is being spoken to the destination server; eg, "http" or "ftp".

val get_destination_port : t -> UInt16.t

Gets @proxy's destination port; that is, the port on the destination host that will be connected to via the proxy, not the port number of the proxy itself.

val get_destination_hostname : t -> string

Gets @proxy's destination hostname; that is, the name of the host that will be connected to via the proxy, not the name of the proxy itself.