since: 2.16

Declaration [src]

webkit_security_origin_get_port (
  WebKitSecurityOrigin* origin

Description [src]

Gets the port of origin.

This function will always return 0 if the port is the default port for the given protocol. For example, has the same security origin as, and this function will return 0 for a WebKitSecurityOrigin constructed from either URI.

Available since: 2.16

Return value

Type: guint16

The port of the WebKitSecurityOrigin.