tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Utils
IApiHeadersProvider.cs
Go to the documentation of this file.
1
using
Tgstation.Server.Api
;
2
3
namespace
Tgstation.Server.Host.Utils
4
{
8
public
interface
IApiHeadersProvider
9
{
13
ApiHeaders
?
ApiHeaders
{
get
; }
14
18
HeadersException
?
HeadersException
{
get
; }
19
26
ApiHeaders
CreateAuthlessHeaders
();
27
}
28
}
Tgstation.Server.Api.ApiHeaders
Represents the header that must be present for every server request.
Definition
ApiHeaders.cs:25
Tgstation.Server.Api.HeadersException
Thrown when trying to generate ApiHeaders from Microsoft.AspNetCore.Http.Headers.RequestHeaders fails...
Definition
HeadersException.cs:9
Tgstation.Server.Host.Utils.IApiHeadersProvider
Provides ApiHeaders.
Definition
IApiHeadersProvider.cs:9
Tgstation.Server.Host.Utils.IApiHeadersProvider.CreateAuthlessHeaders
ApiHeaders CreateAuthlessHeaders()
Attempt to create Api.ApiHeaders without checking for the presence of an Microsoft....
Tgstation.Server.Api
Definition
ApiHeaders.cs:20
Tgstation.Server.Host.Utils
Definition
AbstractHttpClientFactory.cs:10
Generated by
1.9.8