tgstation-server 6.12.3
The /tg/station 13 server suite
|
For logging HTTP requests and responses. More...
Public Member Functions | |
ValueTask | LogRequest (HttpRequestMessage requestMessage, CancellationToken cancellationToken) |
Log a request. | |
ValueTask | LogResponse (HttpResponseMessage responseMessage, CancellationToken cancellationToken) |
Log a response. | |
For logging HTTP requests and responses.
Definition at line 10 of file IRequestLogger.cs.
ValueTask Tgstation.Server.Client.IRequestLogger.LogRequest | ( | HttpRequestMessage | requestMessage, |
CancellationToken | cancellationToken | ||
) |
Log a request.
requestMessage | The HttpRequestMessage representing the request. |
cancellationToken | The CancellationToken for the operation. |
ValueTask Tgstation.Server.Client.IRequestLogger.LogResponse | ( | HttpResponseMessage | responseMessage, |
CancellationToken | cancellationToken | ||
) |
Log a response.
responseMessage | The HttpResponseMessage representing the request. |
cancellationToken | The CancellationToken for the operation. |