C# Class Grpc.IntegrationTesting.InteropClient

Afficher le fichier Open project: endlessm/chromium-browser Class Usage Examples

Méthodes publiques

Méthode Description
Run ( string args ) : void
RunCancelAfterBeginAsync ( Grpc.Testing.TestService client ) : Task
RunCancelAfterFirstResponseAsync ( Grpc.Testing.TestService client ) : Task
RunClientStreamingAsync ( Grpc.Testing.TestService client ) : Task
RunComputeEngineCreds ( Grpc.Testing.TestService client, string defaultServiceAccount, string oauthScope ) : void
RunCustomMetadataAsync ( Grpc.Testing.TestService client ) : Task
RunEmptyStreamAsync ( Grpc.Testing.TestService client ) : Task
RunEmptyUnary ( Grpc.Testing.TestService client ) : void
RunJwtTokenCreds ( Grpc.Testing.TestService client ) : void
RunLargeUnary ( Grpc.Testing.TestService client ) : void
RunOAuth2AuthTokenAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
RunPerRpcCredsAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
RunPingPongAsync ( Grpc.Testing.TestService client ) : Task
RunServerStreamingAsync ( Grpc.Testing.TestService client ) : Task
RunStatusCodeAndMessageAsync ( Grpc.Testing.TestService client ) : Task
RunTimeoutOnSleepingServerAsync ( Grpc.Testing.TestService client ) : Task
RunUnimplementedMethod ( Grpc.Testing.UnimplementedService client ) : void

Private Methods

Méthode Description
CreateCredentialsAsync ( ) : Task
CreateTestMetadata ( ) : Grpc.Core.Metadata
CreateZerosPayload ( int size ) : Payload
GetEmailFromServiceAccountFile ( ) : string
InteropClient ( ClientOptions options ) : System
Run ( ) : Task
RunTestCaseAsync ( Grpc.Core.Channel channel, ClientOptions options ) : Task

Method Details

Run() public static méthode

public static Run ( string args ) : void
args string
Résultat void

RunCancelAfterBeginAsync() public static méthode

public static RunCancelAfterBeginAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunCancelAfterFirstResponseAsync() public static méthode

public static RunCancelAfterFirstResponseAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunClientStreamingAsync() public static méthode

public static RunClientStreamingAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunComputeEngineCreds() public static méthode

public static RunComputeEngineCreds ( Grpc.Testing.TestService client, string defaultServiceAccount, string oauthScope ) : void
client Grpc.Testing.TestService
defaultServiceAccount string
oauthScope string
Résultat void

RunCustomMetadataAsync() public static méthode

public static RunCustomMetadataAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunEmptyStreamAsync() public static méthode

public static RunEmptyStreamAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunEmptyUnary() public static méthode

public static RunEmptyUnary ( Grpc.Testing.TestService client ) : void
client Grpc.Testing.TestService
Résultat void

RunJwtTokenCreds() public static méthode

public static RunJwtTokenCreds ( Grpc.Testing.TestService client ) : void
client Grpc.Testing.TestService
Résultat void

RunLargeUnary() public static méthode

public static RunLargeUnary ( Grpc.Testing.TestService client ) : void
client Grpc.Testing.TestService
Résultat void

RunOAuth2AuthTokenAsync() public static méthode

public static RunOAuth2AuthTokenAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
client Grpc.Testing.TestService
oauthScope string
Résultat Task

RunPerRpcCredsAsync() public static méthode

public static RunPerRpcCredsAsync ( Grpc.Testing.TestService client, string oauthScope ) : Task
client Grpc.Testing.TestService
oauthScope string
Résultat Task

RunPingPongAsync() public static méthode

public static RunPingPongAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunServerStreamingAsync() public static méthode

public static RunServerStreamingAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunStatusCodeAndMessageAsync() public static méthode

public static RunStatusCodeAndMessageAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunTimeoutOnSleepingServerAsync() public static méthode

public static RunTimeoutOnSleepingServerAsync ( Grpc.Testing.TestService client ) : Task
client Grpc.Testing.TestService
Résultat Task

RunUnimplementedMethod() public static méthode

public static RunUnimplementedMethod ( Grpc.Testing.UnimplementedService client ) : void
client Grpc.Testing.UnimplementedService
Résultat void