mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Add preliminary support for logging outgoing HTTP requests
This commit is contained in:
parent
2d66c44848
commit
f2c18dff41
4 changed files with 136 additions and 0 deletions
|
|
@ -94,6 +94,8 @@ namespace PluralKit.Bot
|
|||
Timeout = TimeSpan.FromSeconds(5)
|
||||
}).AsSelf().SingleInstance();
|
||||
builder.RegisterInstance(SystemClock.Instance).As<IClock>();
|
||||
|
||||
builder.RegisterType<DiscordRequestObserver>().AsSelf().SingleInstance();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue