C++ framework for building lightweight HTTP interfaces
Questions tagged [pion-net]
11 questions
2
votes
3 answers
HTTP Client Request Response with pion-net c++
I want to create a simple HTTPClient with pion-net (Pion-net leverages boost::asio.).
Boot Version 1.49
Pion-net Version 4.11
My client should just be a able to:
send a HTTP Request (this is working)
receive the HTTP Response (not…

Martin Meeser
- 2,784
- 2
- 28
- 41
1
vote
1 answer
boost pion comet-like httpserver
I'm trying to efficiently implement comet-like functionality using HTTPServer class of boost::pion.
Basically, in my 'handleURI' function, I would like to postpone returning results to the client, until the server is ready to respond (for instance,…

qdot
- 6,195
- 5
- 44
- 95
1
vote
1 answer
PION : crash in HTTPRequest send
I am writing an application that uses pion library and notice a crash when I try to send a request. The crash is happening due to segmentation fault. This is in Linux and I am linking with PION_FULL.
Code:
pion::net::HTTPRequest…

mithuna
- 1,011
- 1
- 9
- 9
0
votes
1 answer
OnNegotiationNeeded event in webrtc.PeerConnection not found (pion golang). But in official docs it show that it's there
ur.com/3Nydn.png
The official docs pion webrtc doc shows that *func (PeerConnection) OnNegotiationNeeded exists. But actually this event is not present in the PeerConnection object. It can be checked from the given screenshot. Also other events are…
0
votes
1 answer
Linking statically against pion network library
I am trying to link pion network library 4.0.3 in my application. I tried to simply compile pion::netlib in RELEASE_STATIC mode - which worked. However, when I linked against it in my application I get alot of unresolved externals.
Then I found out…

Max
- 4,345
- 8
- 38
- 64
0
votes
1 answer
pion-network library installation
I have downloaded and installed the pion network library.
I am trying to build the sample web services (HelloService etc). However, I cannot find instructions on how to build the examples.
I am developing on windows7
0
votes
2 answers
pion network library: testing sample webservices
I am using the Pion Network Library to try to build some lighteight C++ HTTP web services.
I have succesfully built the sources, and I now want to test the sample web services that come bundled with the library.
I am running the PionWebServer…

skyeagle
- 6,925
- 16
- 56
- 71
0
votes
0 answers
How to fix error :url_decode, base64_encode are not a member of ‘pion::http::types’?
I am building an application with pion 5.0.6. libraries. The file contains pion-net 2.2.12 functions which are url_decode , url_encode, base64_encode.These functions are not defined in new version pion 5.0.6. So what can I replace in place of these…

Jagadeesh
- 99
- 1
- 1
- 7
0
votes
1 answer
Error cross compiling Pion Network Library
I am trying to cross compile the Pion Network Library for windows using mingw64..
These are the links where I am getting them both from ( version 5.0.4 of pion)
https://github.com/splunk/pion
https://sourceforge.net/projects/mingw-w64/files/
I have…

HeKnOw
- 1
- 1
0
votes
1 answer
How to make asynchronous HTTP request with pion?
Similar to this question, but I'd like to communicate asynchronously using Pion.
I think I've figured out how to create a connection asynchronously:
pion::tcp::connection_ptr connection(new…

tecywiz121
- 169
- 1
- 7
-1
votes
1 answer
Is it possible to have dynamic routes in pion?
I'd like to use pion 5.0.6 as a small webserver in a VS2017 c++ project. For static routes I can use
add_resource("/my/static/route", )
I would need dynamic routes as well - like "/data/:id/info
How do I do this?

x y
- 911
- 9
- 27