Giter Site home page Giter Site logo

Comments (3)

getActivity avatar getActivity commented on June 4, 2024

HTTP 之 SSE 技术

okhttp-sse 的使用笔记

from easyhttp.

getActivity avatar getActivity commented on June 4, 2024

小伙子,关于你说的 sse 功能,我在网上查阅了相关资料,确实 OkHttp 有这个东西,但是我经过再三思考,决定不去该功能,具体原因如下:

  1. 目前用这个功能的人比较少,你是第一个提这个功能的人
  2. 封装这个功能的成本较高,可能需要对框架做比较大的改动

你可以考虑直接使用 OkHttp 提供的 API 来实现需求

from easyhttp.

ALEXLEOHY avatar ALEXLEOHY commented on June 4, 2024

多谢轮子哥,目前确实用okhttp来实现,但是能力有限, 么办法接入到easyhttp中,所以向您来请教,多谢.

from easyhttp.

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.