Class CacheStorageAdapter
- Namespace
- OpenQA.Selenium.DevTools.V85.CacheStorage
- Assembly
- WebDriver.dll
Represents an adapter for the CacheStorage domain to simplify the command interface.
public class CacheStorageAdapter
- Inheritance
-
CacheStorageAdapter
- Inherited Members
Constructors
CacheStorageAdapter(IDevToolsSession)
Initializes a new instance of the CacheStorageAdapter class.
public CacheStorageAdapter(IDevToolsSession session)
Parameters
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
Methods
DeleteCache(DeleteCacheCommandSettings, CancellationToken, int?, bool)
deleteCache
public Task<DeleteCacheCommandResponse> DeleteCache(DeleteCacheCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DeleteCacheCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DeleteEntry(DeleteEntryCommandSettings, CancellationToken, int?, bool)
deleteEntry
public Task<DeleteEntryCommandResponse> DeleteEntry(DeleteEntryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DeleteEntryCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestCacheNames(RequestCacheNamesCommandSettings, CancellationToken, int?, bool)
requestCacheNames
public Task<RequestCacheNamesCommandResponse> RequestCacheNames(RequestCacheNamesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestCacheNamesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestCachedResponse(RequestCachedResponseCommandSettings, CancellationToken, int?, bool)
requestCachedResponse
public Task<RequestCachedResponseCommandResponse> RequestCachedResponse(RequestCachedResponseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestCachedResponseCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestEntries(RequestEntriesCommandSettings, CancellationToken, int?, bool)
requestEntries
public Task<RequestEntriesCommandResponse> RequestEntries(RequestEntriesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestEntriesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool