C# Class GoogleAnalyticsUtils.HitSender

Inheritance: IHitSender
Show file Open project: GoogleCloudPlatform/google-cloud-visualstudio

Public Methods

Method Description
HitSender ( bool debug, string userAgent ) : System
SendHitData ( string>.Dictionary hitData ) : void

Sends the hit data to the server.

Private Methods

Method Description
CreateHttpClient ( ) : HttpClient
DebugPrintAnalyticsOutput ( Task resultTask, string>.Dictionary hitData ) : void

Method Details

HitSender() public method

public HitSender ( bool debug, string userAgent ) : System
debug bool
userAgent string
return System

SendHitData() public method

Sends the hit data to the server.
public SendHitData ( string>.Dictionary hitData ) : void
hitData string>.Dictionary The hit data to be sent.
return void