Org.Shokai.Web.AsyncWebRequest

7 views
Skip to first unread message

Sho Hashimoto

unread,
Dec 4, 2007, 2:11:02 PM12/4/07
to oklab...@googlegroups.com

http://web.sfc.keio.ac.jp/~shokai/archives/2007/12/cs-http-async.html

だいたいこんな感じでHTTP非同期呼び出しするクラス作りました!!

using Org.Shokai.Web;
AsyncWebRequest asyncReq = new AsyncWebRequest();
asyncReq.encoding = Encoding.UTF8;
asyncReq.sleepTime = 100;
asyncReq.onResponse += (ResponseDelegate)delegate(Response res)
{
Console.WriteLine(res.content); // コールバック
};
asyncReq.get(new Uri("http://shokai.org"));

これからクローラ作る!!!はぁはぁ

あと音声認識してポストするIRCボット作るかも!
DNP中にマイクしかけるかな

--
橋本 翔(Sho Hashimoto)
sho...@sfc.keio.ac.jp
http://shokai.org/

Sho Hashimoto

unread,
Dec 4, 2007, 2:12:07 PM12/4/07
to oklab...@googlegroups.com
添付わすれてた

Sho Hashimoto さんは書きました:

AsyncWebRequest.cs
Reply all
Reply to author
Forward
0 new messages