Documentation Index
Fetch the complete documentation index at: https://easyaf.dev/llms.txt
Use this file to discover all available pages before exploring further.
Definition
Assembly: CloudNimble.Breakdance.Assemblies.dll Namespace: CloudNimble.Breakdance.Assemblies.Http Inheritance: CloudNimble.Breakdance.Assemblies.Http.ResponseSnapshotHandlerBaseSyntax
Summary
Base class for implementation of TestCache handlers for unit testing.Remarks
This class is deprecated. Use ResponseSnapshotHandlerBase instead.Constructors
.ctor
Creates a new TestCacheDelegatingHandlerBase with the specified root folder path.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
responseFilesPath | string | Root folder path for storing static response files. |
Remarks
This constructor is deprecated. Use ResponseSnapshotHandlerBase instead..ctor Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.ResponseSnapshotHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
responseSnapshotsPath | string | Root folder path for storing response snapshot files. |
Examples
Properties
ResponseFilesPath
Gets the root folder path for reading/writing static response files.Syntax
Property Value
Type:string
Remarks
This property is deprecated. Use ResponseSnapshotHandlerBase.ResponseSnapshotsPath instead.ResponseSnapshotsPath Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.ResponseSnapshotHandlerBaseSyntax
Property Value
Type:string
Methods
GetFileExtensionString Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.ResponseSnapshotHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
request | System.Net.Http.HttpRequestMessage | The request to examine. |
Returns
Type:string
The file extension string for the request’s Accept header.
Exceptions
| Exception | Description |
|---|---|
ArgumentNullException | Thrown when request is null. |
GetPathInfo Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.ResponseSnapshotHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
request | System.Net.Http.HttpRequestMessage | The HttpRequestMessage to parse. |
responseSnapshotsPath | string | Root folder for storing snapshot files. |
Returns
Type:(string, string)
A tuple containing the directory path and file path components.
Exceptions
| Exception | Description |
|---|---|
ArgumentException | Thrown when the request has an invalid RequestUri. |
InvalidOperationException | Thrown when the URI cannot be converted to a valid file path. |
GetResponseMediaTypeString Inherited
Inherited from
CloudNimble.Breakdance.Assemblies.Http.ResponseSnapshotHandlerBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
filePath | string | The file path to examine. |
Returns
Type:string
The MIME type string for the file extension.