Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @aws-sdk/util-user-agent-browser

@aws-sdk/util-user-agent-browser

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

Index

Functions

Const defaultUserAgent

  • defaultUserAgent(__namedParameters: { clientVersion: string; serviceId: string }): Provider<UserAgent>
  • Default provider to the user agent in ReactNative. It's a best effort to infer the device information. It uses bowser library to detect the browser and virsion

    Parameters

    • __namedParameters: { clientVersion: string; serviceId: string }
      • clientVersion: string
      • serviceId: string

    Returns Provider<UserAgent>

Const defaultUserAgent

  • defaultUserAgent(__namedParameters: { clientVersion: string; serviceId: string }): Provider<UserAgent>
  • Default provider to the user agent in browsers. It's a best effort to infer the device information. It uses bowser library to detect the browser and version

    Parameters

    • __namedParameters: { clientVersion: string; serviceId: string }
      • clientVersion: string
      • serviceId: string

    Returns Provider<UserAgent>