C# Class System.Net.Http.Functional.Tests.HttpClientMiniStress

Mostra file Open project: dotnet/corefx

Private Properties

Property Type Description
CreateAndDestroyManyClients void
CreateResponse string
CreateServerAndGet void
CreateServerAndGetAsync Task
CreateServerAndPostAsync Task
ForCountAsync Task
MakeAndFaultManyRequests Task
ManyClients_ManyGets void
ManyClients_ManyPosts_Async Task
SingleClient_ManyGets_Async Task
SingleClient_ManyGets_Sync void
UnreadResponseMessage_Collectible Task

Public Methods

Method Description
GetStressOptions ( ) : IEnumerable
PostStressOptions ( ) : IEnumerable

Private Methods

Method Description
CreateAndDestroyManyClients ( int numClients ) : void
CreateResponse ( string asciiBody ) : string
CreateServerAndGet ( HttpClient client, HttpCompletionOption completionOption, string responseText ) : void
CreateServerAndGetAsync ( HttpClient client, HttpCompletionOption completionOption, string responseText ) : Task
CreateServerAndPostAsync ( HttpClient client, int numBytes, string responseText ) : Task
ForCountAsync ( int count, int dop, Task>.Func bodyAsync ) : Task
MakeAndFaultManyRequests ( int numRequests ) : Task
ManyClients_ManyGets ( int numRequests, int dop, HttpCompletionOption completionOption ) : void
ManyClients_ManyPosts_Async ( int numRequests, int dop, int numBytes ) : Task
SingleClient_ManyGets_Async ( int numRequests, int dop, HttpCompletionOption completionOption ) : Task
SingleClient_ManyGets_Sync ( int numRequests, int dop, HttpCompletionOption completionOption ) : void
UnreadResponseMessage_Collectible ( ) : Task

Method Details

GetStressOptions() public static method

public static GetStressOptions ( ) : IEnumerable
return IEnumerable

PostStressOptions() public static method

public static PostStressOptions ( ) : IEnumerable
return IEnumerable