以下の内容はhttps://kazeburo.hatenablog.com/entry/2013/11/28/132551より取得しました。


Amon2でKossy::Request/Responseを使う

使う事があるかどうかは置いといて、使えた

package MyApp::Web;
..
# request/response
use Kossy::Request;
use Kossy::Response;
sub create_request  { Kossy::Request->new($_[1]) }
sub create_response { shift; Kossy::Response->new(@_) }


メリット?

  • URL::Encode::XS / HTTP::Headers::Fast による高速化
  • application/jsonの自動decodeが使える
  • uri_forがある

デメリット?




以上の内容はhttps://kazeburo.hatenablog.com/entry/2013/11/28/132551より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14