C# Class Google.PowerShell.Common.HitSender

Class used to send Google Analytic hits using the Google Analytics measurement protocol. For more information, see: https://developers.google.com/analytics/devguides/collection/protocol/v1/
Inheritance: IHitSender
显示文件 Open project: GoogleCloudPlatform/google-cloud-powershell

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
DebugPrintAnalyticsOutput ( response ( ) : System

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