BlobHandle Class
Packages > @fluidframework/aqueduct > BlobHandle
This class represents blob (long string) This object is used only when creating (writing) new blob and serialization purposes. De-serialization process goes through FluidObjectHandle and request flow: DataObject.request() recognizes requests in the form of /blobs/<id>
and loads blob.
Signature:
export declare class BlobHandle implements IFluidHandle
Implements: IFluidHandle
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(path, directory, routeContext) | Constructs a new instance of the BlobHandle class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
absolutePath | string | ||
IFluidHandle | IFluidHandle | ||
IFluidRouter | IFluidRouter | ||
isAttached | boolean | ||
routeContext | IFluidHandleContext |
Methods
Method | Modifiers | Description |
---|---|---|
attachGraph() | ||
bind(handle) | ||
get() | ||
request(request) |
Constructors
BlobHandle.(constructor)
Constructs a new instance of the BlobHandle
class
Signature:
constructor(path: string, directory: ISharedDirectory, routeContext: IFluidHandleContext);
Parameters
Parameter | Type | Description |
---|---|---|
path | string | |
directory | ISharedDirectory | |
routeContext | IFluidHandleContext |
Properties
absolutePath
Signature:
readonly absolutePath: string;
IFluidHandle
Signature:
get IFluidHandle(): IFluidHandle;
IFluidRouter
Signature:
get IFluidRouter(): IFluidRouter;
isAttached
Signature:
get isAttached(): boolean;
routeContext
Signature:
readonly routeContext: IFluidHandleContext;
Methods
attachGraph
Signature:
attachGraph(): void;
Returns:
void
bind
Signature:
bind(handle: IFluidHandle): void;
Parameters
Parameter | Type | Description |
---|---|---|
handle | IFluidHandle |
Returns:
void
get
Signature:
get(): Promise<any>;
Returns:
Promise<any>
request
Signature:
request(request: IRequest): Promise<IResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
request | IRequest |
Returns:
Promise<IResponse>