Aster TypeScript 0.3.893
    Preparing search index...

    Aster TypeScript 0.3.893

    API reference generated from the public 0.3.893 package.

    Import from @aster-rpc/aster in applications. Use the tested quickstart for complete examples and the compatibility guide for package and lifecycle boundaries.

    Server and Client

    AsterConfig
    AsterConfig
    AdmissionDeniedError
    AsterServerOptions
    AsterServer
    AsterClientOptions
    AsterClientWrapper
    ProxyClient

    Node

    NodeId
    NodeId
    NodeAddr
    Node
    SecretKey

    Decorators

    ServiceOptions
    Service
    Rpc
    ServerStream
    ClientStream
    BidiStream
    WireTypeOptions
    WireType

    Authorization

    anyOf
    allOf

    Serialization

    SerializationMode
    SerializationMode
    ExponentialBackoff
    RetryPolicy

    Interceptors

    AuditLogFn
    AuditEntry
    AuditLogInterceptor
    AuthInterceptor
    CallContext
    Interceptor
    CapabilityInterceptor
    CircuitBreakerOptions
    CircuitBreakerInterceptor
    CompressionInterceptor
    RateLimitOptions
    RateLimitInterceptor
    RetryInterceptor

    Observability

    pinoSink
    winstonSink
    initObservability
    shutdownObservability
    flushObservability
    setLogSink
    setLogFilter
    prometheusText
    currentTraceId
    currentSpanId
    currentBaggage
    withTraceContext
    tracingMixin
    winstonTracingFormat

    Logging

    LogSink
    pinoSink
    winstonSink
    setLogSink
    setLogFilter
    tracingMixin
    winstonTracingFormat

    Metrics

    InstrumentOptions
    metrics

    Tracing

    currentTraceId
    currentSpanId
    currentBaggage
    withTraceContext
    tracing

    Errors

    StatusCode
    StatusCode
    statusName
    RpcError
    CancelledError
    UnknownRpcError
    InvalidArgumentError
    DeadlineExceededError
    NotFoundError
    AlreadyExistsError
    PermissionDeniedError
    ResourceExhaustedError
    FailedPreconditionError
    AbortedError
    OutOfRangeError
    UnimplementedError
    InternalError
    UnavailableError
    DataLossError
    UnauthenticatedError
    ContractViolationError

    Interfaces

    ObservabilityOptions
    RustLogRecord