Server.getAsyncContext

Gets @server's async_context, if you are using the old API. (With the new API, the server runs in the thread's thread-default #GMainContext, regardless of what this method returns.)

This does not add a ref to the context, so you will need to ref it yourself if you want it to outlive its server.

More...
class Server
MainContext
getAsyncContext
()

Return Value

Type: MainContext

@server's #GMainContext, which may be %NULL

Detailed Description

Deprecated: If you are using soup_server_listen(), etc, then the server listens on the thread-default #GMainContext, and this property is ignored.

Meta