HTTP::CompressHandler

class HTTP::CompressHandler

Overview

A handler that configures an HTTP::Server::Response to compress the response output, either using gzip or deflate, depending on the Accept-Encoding request header.

Included Modules

Defined in:

http/server/handlers/compress_handler.cr

Instance Method Summary

Instance Method Detail

def call(context)Source

© 2012–2017 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.22.0/HTTP/CompressHandler.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部