Giter VIP home page Giter VIP logo

Comments (5)

jcheng5 avatar jcheng5 commented on August 10, 2024

You want to intercept and inspect the http requests coming out of an R process, no matter what code originated them or what host they're going to?

from httpuv.

sckott avatar sckott commented on August 10, 2024

Yeah, its the same concept as this chrome plugin https://chrome.google.com/webstore/detail/live-http-headers/iaiioopjkcekapmldfgbebdclcnpgnlo - trying to make a shiny app that will listen via httpuv for http requests and display them so users can inspect all their requests - not sure if this is possible though.

The use case is that I want a viewer for https://github.com/ropenscilabs/vcr users to inspect all their http requests via files on the file system that define http request and response fields . This is straightforward.

However, I thought to make it more general it would be nice to optionally listen for all http requests made from R (or some subset defined by the user, either port or host specific, etc.) - this is the hard part

from httpuv.

sckott avatar sckott commented on August 10, 2024

@jcheng5 any thoughts on this? i'm also trying to port the Ruby library https://github.com/bblimke/webmock - which takes the approach of listening to http request made in the ruby session - would be interested to know if you think this is doable

from httpuv.

wch avatar wch commented on August 10, 2024

Closing because this is out of scope for httpuv.

from httpuv.

sckott avatar sckott commented on August 10, 2024

sounds good, figured out the right (and different) approach

from httpuv.

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.