diff options
Diffstat (limited to 'libpanto')
| -rw-r--r-- | libpanto/src/public.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpanto/src/public.zig b/libpanto/src/public.zig index 2c15f1e..ec8534a 100644 --- a/libpanto/src/public.zig +++ b/libpanto/src/public.zig @@ -55,6 +55,10 @@ pub fn deinit() void { config_mod.deinitHttp(); } +/// Borrow the process-global HTTP client (asserts `init` has run). Embedders +/// driving the OAuth auth flows need this to pass to `oauthLogin` etc. +pub const httpClient = config_mod.httpClient; + // =========================================================================== // Config (data, aliased) // =========================================================================== |
