Synchronously resolves the missing half of this, as with resolve_async.
If cancellable is non-null, it can be used to cancel the resolution.
resolve_sync will then return a status of soup_status_cancelled.
It is safe to call this more than once, even from different threads, but it is not safe to mix calls to resolve_sync with calls to resolve_async on the same address.
| this |
a Address |
| cancellable |
a Cancellable object, or null |
|
soup_status_ok, soup_status_cant_resolve, or soup_status_cancelled. |