C# Class 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.
Inheritance: ISentryRequestFactory
Afficher le fichier Open project: getsentry/raven-csharp

Private Properties

Свойство Type Description
Convert string>.IDictionary
GetHttpContext void
TryGetHttpContextPropertyFromAppDomain void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Convert ( NameObjectCollectionBase>.Func collectionGetter ) : string>.IDictionary
GetHttpContext ( ) : void
TryGetHttpContextPropertyFromAppDomain ( ) : void

Method Details

Create() public méthode

Creates a new instance of SentryRequest for the current packet.
public Create ( ) : ISentryRequest
Résultat ISentryRequest

OnCreate() public méthode

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.
Résultat SentryRequest