Comments (10)
Ok I made it, I added a remoteAddress parameter to HttpRequest struct, I'm not sure if thats something you want in your code.
from swifter.
@jigzat hey man,
the updates are always welcome ! please make a pull request or paste the code here :)
Best
from swifter.
Done, I'm not sure how good it was.
from swifter.
hi man, any chance to push the change ?
from swifter.
Hi, I thought I had push it already. Let me check, I'm a github noob.
Enviado desde mi iPhone
El 9/06/2015, a las 2:52 a.m., Damian Kołakowski [email protected] escribió:
hi man, any chance to push the change ?
—
Reply to this email directly or view it on GitHub.
from swifter.
I moved your code to Socket class and merged it to the master branch. Once again, thanks for the pull request :)
Best
from swifter.
Sorry for the delay I have been very busy this week.
El 15/06/2015, a las 1:02 p.m., Damian Kołakowski [email protected] escribió:
I moved your code to Socket class and merged it to the mater branch. Once again, thanks for the pull request :)
—
Reply to this email directly or view it on GitHub #21 (comment).
from swifter.
no problem :)
from swifter.
I have some trouble with this. The "address" reported looks like an IPv6 address e.g. ::101a:400:8060:0
And it changes every few minutes despite no change to my connection.
But when I use ifconfig
to check my network settings, that address does not appear.
I am running the server and calling it from my dev computer - does this change anything?
Is there a way to tweak this so as to get the IPv4 address?
Even better, can I get the Bonjour name of the caller?
from swifter.
Is there a way to tweak this so as to get the IPv4 address?
Really late, but I hit the same issue. Starting the server forceIPv4 gets around it:
server.start(8080, forceIPv4: true)
from swifter.
Related Issues (20)
- websocket sometimes not working in macOS sandbox app HOT 1
- LICENSE file contains placeholder text.
- usleep degrades when using Swifter
- Unable to connect to server HOT 1
- tvOS 16 Beta 2 Unable to override the Stub that has same url
- Builds fails when trying to use `Swifter` in XCUITest HOT 3
- 404 Not Found HOT 1
- Building release is extremely slow
- Enhancement request: Swifter to label .wasm files as "application/wasm" when it serves them
- Can the development on this package be sponsored?
- IOS 16.4problem: Restricted network ports are not allowed HOT 3
- How to get post parameters ?
- How to set multiple responses for one endpoint?
- Question for loading index.html + subdirrectories HOT 1
- Support regular expression
- Bind operation not permitted - MacOS - UITests
- Privacy Manifest HOT 6
- HttpServer does not support for multicast
- Release new version from stable branch (Cocoapods)
- How to use the ssl HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swifter.