We changed our privacy policy. Read more.

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.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
385 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: ...
4
votes
0answers
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 ...
3
votes
0answers
67 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 ...
3
votes
0answers
62 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). ...
3
votes
0answers
128 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 ...
3
votes
0answers
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 ...
2
votes
0answers
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 ...
2
votes
0answers
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 ...
2
votes
0answers
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 ...
2
votes
0answers
175 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 ...
2
votes
0answers
160 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 ...
1
vote
0answers
246 views

TypeScript Express.js proxy server overall design and structure

I have built a Express.js proxy server using TypeScript to be able to hide my front-end API keys. I designed it to be able to include multiple API services and to reject connections that are not from ...
1
vote
0answers
74 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
867 views

Proxying Socket.io requests and other HTTP requests

I have written a proxy server using node HTTP proxy, which can also be found on Github. I am bit unsure about whether I am proxying the web sockets correctly. ...
1
vote
0answers
966 views

Nginx SSL proxy to squarespace.com site

I'm using SSL proxying to my squarespace.com site since they don't allow SSL. I was previously setting the HSTS header so I have some browsers that won't go to an HTTP version of my page. I need to ...