@firebase/webchannel-wrapper
TypeScript icon, indicating that this package has built-in type declarations

0.10.6 • Public • Published

@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 

Readme

Keywords

none

Package Sidebar

Install

npm i @firebase/webchannel-wrapper

Weekly Downloads

1,652,351

Version

0.10.6

License

Apache-2.0

Unpacked Size

3.72 MB

Total Files

9

Last publish

Collaborators

  • chholland
  • firebase-ops
  • feiyang.chen
  • google-wombot