BlobServiceFactory class

Helpers to bootstrap blob service client/server pairs over arbitrary transports, similar to DataServiceFactory.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

createClient({required IRpcTransport transport, RpcDataTransferMode transferMode = RpcDataTransferMode.codec, int uploadChunkBytes = BlobServiceClient.defaultChunkBytes, String debugLabel = 'BlobServiceClient', bool attachChunkChecksums = false}) → BlobServiceClient
Create client-side wiring for an existing transport.
createServer({required IRpcTransport transport, required IBlobRepository storage, RpcDataTransferMode transferMode = RpcDataTransferMode.codec, int? maxChunkBytes, String debugLabel = 'BlobServiceServer'}) → BlobServiceServer
Create server-side wiring for an existing IBlobRepository.
inMemory({required IBlobRepository storage, String serverLabel = 'BlobResponder', String clientLabel = 'BlobCaller', RpcDataTransferMode transferMode = RpcDataTransferMode.codec, int uploadChunkBytes = BlobServiceClient.defaultChunkBytes, int? maxChunkBytes}) → Future<InMemoryBlobServiceEnvironment>
Full in-memory setup: paired transports + provided storage adapter.