Re: Make HTTP request without cURL/other libraries

2014-09-24 Thread BoPoHa_C_CblPoM via Digitalmars-d
On Wednesday, 24 September 2014 at 17:52:26 UTC, Adam D. Ruppe wrote: On Wednesday, 24 September 2014 at 17:48:25 UTC, BoPoHa_C_CblPoM wrote: Error 42: Symbol Undefined _D4arsd4http12__ModuleInfoZ You imported the module, so you need to compile it too: dmd yourfile.d http.d where http.d

Re: Make HTTP request without cURL/other libraries

2014-09-24 Thread BoPoHa_C_CblPoM via Digitalmars-d
On Wednesday, 24 September 2014 at 16:58:33 UTC, Adam D. Ruppe wrote: On Wednesday, 24 September 2014 at 16:45:57 UTC, BoPoHa_C_CblPoM wrote: I just want to make request. Now i use cURL and his "get(url)" function. I want to make app smaller in size and in a single executable. I need a good ex

Make HTTP request without cURL/other libraries

2014-09-24 Thread BoPoHa_C_CblPoM via Digitalmars-d
I just want to make request. Now i use cURL and his "get(url)" function. I want to make app smaller in size and in a single executable. I need a good example for using std.socket. I read httpget.d from samples folder, but i can't understand it.