add_io_watch
Description:
public unowned TimeoutSource add_io_watch (MainContext? async_context, IOChannel chan, IOCondition condition, IOFunc function)
Adds an I/O watch as with add_watch, but using the given
async_context
.
Parameters:
async_context |
the MainContext to dispatch the I/O watch in, or |
chan |
the IOChannel to watch |
condition |
the condition to watch for |
function |
the callback to invoke when |
data |
user data to pass to |
Returns:
a SocketSource, which can be removed from |
Namespace: Soup
Package: libsoup-2.4