Takaro - v0.4.11
    Preparing search index...

    Interface Session

    interface Session {
        abnormal_mechanism?: string;
        did?: string | number;
        duration?: number;
        environment?: string;
        errors: number;
        ignoreDuration: boolean;
        init: boolean;
        ipAddress?: string;
        release?: string;
        sid: string;
        started: number;
        status: SessionStatus;
        timestamp: number;
        user?: User | null;
        userAgent?: string;
        toJSON(): SerializedSession;
    }
    Index

    Properties

    abnormal_mechanism?: string
    did?: string | number
    duration?: number
    environment?: string
    errors: number
    ignoreDuration: boolean
    init: boolean
    ipAddress?: string
    release?: string
    sid: string
    started: number
    status: SessionStatus
    timestamp: number
    user?: User | null
    userAgent?: string

    Methods

    • Overrides default JSON serialization of the Session because the Sentry servers expect a slightly different schema of a session which is described in the interface

      Returns SerializedSession

      a Sentry-backend conforming JSON object of the session

      SerializedSession in this file.