暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dienianindya 2ce56fd9e5 Update 31/01 1 年之前
..
dist Update 31/01 1 年之前
CHANGELOG.md Update 31/01 1 年之前
README.md Update 31/01 1 年之前
package.json Update 31/01 1 年之前

README.md

@firebase/webchannel-wrapper

NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a member of the Firebase team, please avoid using this package

This is a wrapper of some Webchannel Features for the Firebase JS SDK.

Usage

The following 5 modules are exposed for use:

  • createWebChannelTransport
  • ErrorCode
  • EventType
  • WebChannel
  • XhrIoPool

You can include these by doing the following:

ES Modules

import { WebChannel } from '@firebase/webchannel-wrapper'

// Do stuff with WebChannel

CommonJS Modules

const webchannelWrapper = require('@firebase/webchannel-wrapper');

// Do stuff with webchannelWrapper.ErrorCode, webchannelWrapper.EventType, etc