Definition
Assembly: CloudNimble.Breakdance.Assemblies.dll Namespace: CloudNimble.Breakdance.Assemblies.Http Inheritance: CloudNimble.Breakdance.Assemblies.Http.TestCacheDelegatingHandlerBaseSyntax
Summary
Handler for mocking the HttpResponse returned by an HttpRequest using a UTF-8 encoded file.Constructors
.ctor
Constructor overload for specifying the root folder path.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
responseFilesPath | string | Root folder path for storing static response files. |
.ctor Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.TestCacheDelegatingHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
responseFilesPath | string | Root folder path for storing static response files. |
Properties
ResponseFilesPath Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.TestCacheDelegatingHandlerBaseSyntax
Property Value
Type:string
Methods
GetFileExtensionString Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.TestCacheDelegatingHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
request | System.Net.Http.HttpRequestMessage | - |
Returns
Type:string
GetPathInfo Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.TestCacheDelegatingHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
request | System.Net.Http.HttpRequestMessage | The HttpRequestMessage to parse. |
responseFilePath | string | Root folder for storing cache files. |
Returns
Type:(string, string)
GetResponseMediaTypeString Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.TestCacheDelegatingHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
filePath | string | - |
Returns
Type:string