ProjectSource

Utopia::Responder

Definitions

def handle(content_type, &block)

Add a converter for the specified content type. Call the block with the response content if the request accepts the specified content_type.

Implementation

def handle(content_type, &block)
	@handlers << Handler.new(content_type, block)
end