Метод | Описание | |
---|---|---|
RequestStitchingMessageHandler ( bool generateIfMissing ) : System |
Extracts X-Session-Id and X-Request-Id from request header and stores them in the current HTTP context. Adds X-Session-Id and X-Request-Id to the response header. Use RequestContext.RequestId and RequestContext.SessionId to retrieve the values. |
Метод | Описание | |
---|---|---|
SendAsync ( |
Метод | Описание | |
---|---|---|
SetResponseHeader ( |
||
StitchRequestHeader ( |
public RequestStitchingMessageHandler ( bool generateIfMissing ) : System | ||
generateIfMissing | bool | Sends a Bad Request response if X-Request-Id and X-Session-Id are not include in the request header |
Результат | System |
protected SendAsync ( |
||
request | ||
cancellationToken | ||
Результат | Task |