FunctionsHostContract class abstract final

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

Constants

authorizationField → const String
backendPath → const String
POST: one FunctionBackendCall of an admitted invocation.
configDigestField → const String
configPath → const String
GET: the published config generation.
configVersionField → const String
connectorReceiptField → const String
The receipt naming a connector call in the emulator's answer table.
connectorsField → const String
The emulator's label on each request it forwards: how a function's connector calls answer on it (fixtures, live or refused). The schema's FUNCTION_EMULATOR_CONNECTORS_FIELD.
credentialDigestField → const String
functionNameField → const String
The fields naming a backend call's admitted invocation: always the function and its generation; the original credential and its digest only for an end-user principal.
principalPath → const String
POST: one request's credential and publishable key, resolved.
protocol → const int
The version of this private contract (the connection line, the forwarded routes, the internal API and the reset signal): the host names it in its connection line and this emulator accepts exactly its own, so a host and an emulator built from two versions of the contract are refused before anything listens. The schema's FUNCTION_DEVELOPMENT_HOST_PROTOCOL; raise both together with any change to the contract.
protocolRefusedExit → const int
The exit status of a refused host protocol (sysexits' EX_PROTOCOL): the schema's FUNCTION_DEVELOPMENT_EMULATOR_PROTOCOL_REFUSED.
resetPath → const String
POST, served by the host on host.sock: the reset signal.
resetTimeout → const Duration
How long a reset waits for the host's answer to its signal before it clears the emulator's state anyway.
retainedGenerationLifetime → const Duration
retainedGenerations → const int
Superseded config generations a backend call can still name.
testPrincipalPath → const String
POST: one test principal's fixture reference, resolved.
testSessionLifetime → const Duration
testSessionPath → const String
POST: lease one invocation-only session for an end user.
testSessionReleasePath → const String
POST: end one invocation-only session lease.
testSessions → const int
Invocation-only session leases live at once, each ended this long after it was issued unless released first.
uploadHandleLifetime → const Duration
uploadHandles → const int
Open file.beginUpload handles, each discarded this long after it began unless it was completed or aborted.