Documentation
    Preparing search index...

    Module @systemic-games/react-native-pusher-server

    react-native-pusher-server

    Port from the official pusher-http-node package to React Native with Typescript (encryption not supported)

    npm install react-native-pusher-server
    
    import { Pusher } from 'react-native-pusher-server';

    // ...

    const pusher = new Pusher({
    appId: "APP_ID",
    key: "APP_KEY",
    secret: "SECRET_KEY",
    useTLS: USE_TLS, // optional, defaults to false
    cluster: "CLUSTER", // if `host` is present, it will override the `cluster` option.
    host: "HOST", // optional, defaults to api.pusherapp.com
    port: PORT, // optional, defaults to 80 for non-TLS connections and 443 for TLS connections
    });

    MIT


    Made with create-react-native-library

    Classes

    PusherServer