Narcissistic, Perfectly Modest

    @exodus/improbable-eng-grpc-web-react-native-transport
    TypeScript icon, indicating that this package has built-in type declarations

    0.13.0-exodus.0 • Public • Published

    @improbable-eng/grpc-web-react-native-transport

    Transport for use with @improbable-eng/grpc-web that works with React Native.

    Usage

    When making a gRPC request, specify this transport:

    import { grpc } from '@improbable-eng/grpc-web';
    import { ReactNativeTransport } from '@improbable-eng/grpc-web-react-native-transport';
     
    grpc.invoke(MyService.DoQuery, {
      host: "https://example.com",
      transport: ReactNativeTransport(),
      /* ... */
    })

    Alternatively specify the Default Transport when your server/application bootstraps:

    import { grpc } from '@improbable-eng/grpc-web';
    import { ReactNativeTransport } from '@improbable-eng/grpc-web-react-native-transport';
     
    // Do this first, before you make any grpc requests!
    grpc.setDefaultTransport(ReactNativeTransport());

    Keywords

    none

    Install

    npm i @exodus/improbable-eng-grpc-web-react-native-transport

    DownloadsWeekly Downloads

    70

    Version

    0.13.0-exodus.0

    License

    Apache-2.0

    Unpacked Size

    17.8 kB

    Total Files

    7

    Last publish

    Collaborators

    • alex.alexandrius
    • ezenwankwogabriel
    • meniem
    • mzndako
    • ianertson
    • kevva
    • jumokeolads
    • aaronloexodus
    • vikgmdev
    • iamcrazycoder
    • kewde_
    • cassapula
    • wjbeau
    • feri42
    • jprichardson
    • farisissa
    • dooglio
    • ryanzim
    • headfire
    • kklash
    • gutenye
    • mosesbot
    • roccomuso
    • dcastagnoli
    • sonaye
    • nareg_exodus
    • ves
    • tenaciousmv
    • asyakost
    • maxogden
    • bulgakovk
    • sekhmet
    • andrewtoth
    • chalker
    • andrejb
    • gordonel
    • richayotte
    • jaydp17
    • olistic
    • joepie91
    • merlz
    • jadechip
    • vbonini
    • cooncesean
    • devopsrobot
    • jenish-sojitra
    • unidwell
    • nachoalvarez
    • giovannirco
    • ilyavf
    • rec
    • dncabal
    • r1oga
    • diegomura
    • danilsergeev
    • lanre-mark
    • sunilagrawal
    • guillecura
    • timztos
    • motorina0
    • chadstrat
    • mariosvlad
    • federico-po
    • pagan404