swarpc - v0.10.0
    Preparing search index...

    Function makeRequestId

    • Generate a random request ID, used to identify requests between client and server.

      Returns string

      a 6-character hexadecimal string

      export function makeRequestId(): string {
      return Math.random().toString(16).substring(2, 8).toUpperCase()
      }