C# 클래스 SharpRaven.Data.SentryRequestFactory

A default implementation of ISentryRequestFactory. Override the OnCreate method to adjust the values of the SentryRequest before it is sent to Sentry.
상속: ISentryRequestFactory
파일 보기 프로젝트 열기: getsentry/raven-csharp

Private Properties

프로퍼티 타입 설명
Convert string>.IDictionary
GetHttpContext void
TryGetHttpContextPropertyFromAppDomain void

공개 메소드들

메소드 설명
Create ( ) : ISentryRequest

Creates a new instance of SentryRequest for the current packet.

OnCreate ( SentryRequest request ) : SentryRequest

Called when the SentryRequest has been created. Can be overridden to adjust the values of the request before it is sent to Sentry.

비공개 메소드들

메소드 설명
Convert ( NameObjectCollectionBase>.Func collectionGetter ) : string>.IDictionary
GetHttpContext ( ) : void
TryGetHttpContextPropertyFromAppDomain ( ) : void

메소드 상세

Create() 공개 메소드

Creates a new instance of SentryRequest for the current packet.
public Create ( ) : ISentryRequest
리턴 ISentryRequest

OnCreate() 공개 메소드

Called when the SentryRequest has been created. Can be overridden to adjust the values of the request before it is sent to Sentry.
public OnCreate ( SentryRequest request ) : SentryRequest
request SentryRequest The HTTP request information.
리턴 SentryRequest