Skip to main content

Questions tagged [proxy]

A proxy is a device or program that stands between two or more interconnected programs or devices. Reasons for a proxy include one or more connected parties only wanting the other to access specific data. A proxy provides a method for this.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
114 views

A simple local API proxy

Recently I needed to support someone who wanted to ingest some data from on of our API's but had tooling that struggled with the authentication bit. While I'm sure there are some off-the-shelf ...
ChrisWue's user avatar
  • 20.3k
4 votes
0 answers
78 views

JavaScript attempt at an aspect oriented logger using proxies and reflect

I've been playing around with AOP in JavaScript to create a Logger that I can attach to classes and output what is going on (mainly instantiation, calling of functions and the results from functions). ...
Jarede's user avatar
  • 309
4 votes
0 answers
485 views

PowerShell Export-CSV with Cultural Awareness

I recently had a requirement to export data to CSV in a different culture & hit an issue (see https://stackoverflow.com/a/40871162/361842). Here's my workaround: ...
JohnLBevan's user avatar
  • 1,409
4 votes
0 answers
1k views

Python proxy class

I've coded my own proxy class in python. The aim is to have a different type() but otherwise behave as identical to the underlying object as possible. I'm wondering ...
simonzack's user avatar
  • 219
3 votes
0 answers
86 views

Automatic service logging

GitHub Here is a Castle.Core based service interface decorator providing automatic logging through the ambient logging context. Logging context should be ...
Dmitry Nogin's user avatar
  • 6,131
3 votes
0 answers
136 views

msysGit to Unix sockets

I wrote this small script to help porting msysGit sockets to WSL ("Bash for Windows"). I'm not a big Python programmer so any feedback would be well appreciated. By the way, I made it a public Gist ...
Florin Asăvoaie's user avatar
3 votes
0 answers
1k views

Workaround proxy to be able to call 32-bit dll

I had a problem that I posted on StackOverflow about that I could not connect to windows phone 7 from a 64-bit application. I got one response that said I should try to create a WCF Service over named ...
Happlo's user avatar
  • 131
2 votes
0 answers
49 views

Proxy server performance improvements?

fairly new to playing around with proxy servers. Wrote a really simple one with Express to help keep some API keys secret so that my front-end app can query the GitHub API. Definitely feels a bit ...
Anthony's user avatar
  • 191
2 votes
0 answers
1k views

Java Socket Proxy

I've been messing around with protocol handlers in Java, going so far as to write my own using a custom URLStreamHandler and ...
ndm13's user avatar
  • 718
2 votes
0 answers
1k views

Google Searching Bot with Proxy support

I have been asked by a client to program a bot which searches Google and will show how many no of results I get. Note: I know about Google Custom Search API and it will not produce the exact output ...
VISWESWARAN NAGASIVAM's user avatar
2 votes
0 answers
2k views

Simple TCP proxy

EDIT The previous proxy code, after thorough testing, had issues with the stream_copy_to_stream() when sending from $client ...
maff1989's user avatar
  • 131
2 votes
0 answers
190 views

REST proxy in Meteor

I built a simple proxy using Meteor and its Iron Router. It currently fails at passing through other than 200 or 500 status codes, which I guess suffices. Is this ...
Cees Timmerman's user avatar
2 votes
0 answers
192 views

Proxy pattern for supporting '... = ob[idx]->someObjMember = ...' type access

I've finally got a working Proxy pattern. The original task is presented here. My test case is on coliru. It appears to flow through the correct pathways, however I am grateful for feedback and ...
P i's user avatar
  • 629
1 vote
0 answers
104 views

Rotating pool of proxies

It's a very simple class to get a different proxy each time it's called. I've done it because I was trying to use aiohttp_scraper and it didn't work so I have to make my own. This is just one of the ...
user avatar
1 vote
0 answers
130 views

JavaScript Proxy: set DOM Element styles by chaining CSS setters

First time creating my own Proxy handler, instead of copy pasting code. Goal is to chain CSS definitions: style(element).color("red").background("green") and allow whole CSS ...
Danny '365CSI' Engelman's user avatar