C# Class SharpRaven.Utilities.GzipUtil

Afficher le fichier Open project: getsentry/raven-csharp

Méthodes publiques

Méthode Description
Write ( string json, Stream stream ) : void

Compress a JSON string with base-64 encoded gzip compressed string.

WriteAsync ( string json, Stream stream ) : Task

Compress a JSON string with base-64 encoded gzip compressed string.

Method Details

Write() public static méthode

Compress a JSON string with base-64 encoded gzip compressed string.
public static Write ( string json, Stream stream ) : void
json string The JSON to write.
stream Stream The stream.
Résultat void

WriteAsync() public static méthode

Compress a JSON string with base-64 encoded gzip compressed string.
public static WriteAsync ( string json, Stream stream ) : Task
json string The JSON to write.
stream Stream The stream.
Résultat Task