WockyTLSConnector

## WockyTLSConnector WockyTLSConnector |

## Synopsis

                        WockyTLSConnector;
                        WockyTLSConnectorClass;
                        WockyTLSConnectorPrivate;
    WockyTLSConnector * wocky_tls_connector_new             (WockyTLSHandler *handler);
    void                wocky_tls_connector_secure_async    (WockyTLSConnector *self,
                                                             WockyXmppConnection *connection,
                                                             gboolean old_style_ssl,
                                                             const gchar *peername,
                                                             GCancellable *cancellable,
                                                             GAsyncReadyCallback callback,
                                                             gpointer user_data);
    WockyXmppConnection * wocky_tls_connector_secure_finish (WockyTLSConnector *self,
                                                             GAsyncResult *res,
                                                             GError **error);

## Object Hierarchy

      GObject
       +----WockyTLSConnector

## Properties

      "tls-handler"              WockyTLSHandler*      : Read / Write / Construct Only

## Description

## Details

### WockyTLSConnector

    typedef struct _WockyTLSConnector WockyTLSConnector;

### WockyTLSConnectorClass

    typedef struct {
    } WockyTLSConnectorClass;

The class of a WockyTLSConnector.

### WockyTLSConnectorPrivate

    typedef struct _WockyTLSConnectorPrivate WockyTLSConnectorPrivate;

### wocky_tls_connector_new ()

    WockyTLSConnector * wocky_tls_connector_new             (WockyTLSHandler *handler);

`handler` : |
Returns : |

### wocky_tls_connector_secure_async ()

    void                wocky_tls_connector_secure_async    (WockyTLSConnector *self,
                                                             WockyXmppConnection *connection,
                                                             gboolean old_style_ssl,
                                                             const gchar *peername,
                                                             GCancellable *cancellable,
                                                             GAsyncReadyCallback callback,
                                                             gpointer user_data);

`self` : |
`connection` : |
`old_style_ssl` : |
`peername` : |
`cancellable` : |
`callback` : |
`user_data` : |

### wocky_tls_connector_secure_finish ()

    WockyXmppConnection * wocky_tls_connector_secure_finish (WockyTLSConnector *self,
                                                             GAsyncResult *res,
                                                             GError **error);

`self` : |
`res` : |
`error` : |
Returns : |

## Property Details

### The `"tls-handler"` property

      "tls-handler"              WockyTLSHandler*      : Read / Write / Construct Only

The WockyTLSHandler object used for the TLS handshake.