GithubHelp home page GithubHelp logo

Comments (4)

jimhigson avatar jimhigson commented on June 19, 2024

It looks like you are using it right. Your assumptions are correct - Oboe doesn't care about object/array etc ('*' should match either type). Newlines, so long as the JSON remains valid, should be ignored.

That you are using CORS shouldn't have any impact either, at least in Chrome.

All I can think of right now: is your stream gzipped? Perhaps the deflate compressor is holding back transmitting until it gets a certain size of buffer filled. Under Node.js/zlib you can set it to flush like this:

zlib.createGzip({
   flush: zlib.Z_SYNC_FLUSH
})

The integration tests for streamability with CORS are passing against Chrome so I don't think there is a bug in the library.

from oboe.js.

ooxi avatar ooxi commented on June 19, 2024

How big is the response? Could you set up a testcase somewhere?

from oboe.js.

ooxi avatar ooxi commented on June 19, 2024

Since no feedback was provided for several months this issue should be closed (can be reopened as soon as feedback is available @tomorgan)

from oboe.js.

jimhigson avatar jimhigson commented on June 19, 2024

Yes, quite agree. I need to tidy up here and there in the issues section - @ooxi thanks for pointing this out. @tomorgan will be happy to investigate when more info can be provided.

from oboe.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.