URI

[Raku CSS Project] / [CSS-Font-Resources]

role CSS::URI;

Punnable role for lightweight fetchable URI's

Description

CSS::URI is a fetchable URI class. It currently handles schemes file: (default), https: and http:.

Methods

get

fetch with automatic binary/text detection. Can return Str or Blob objects.

IO

returns an IO::Path for the resource. Either a local file or a temporary file for a fetched remote URL.

Blob

binary fetch.

CSS::Font::Resources v0.0.9

CSS Font Resource selection and loading

Authors

  • David Warring

License

Artistic-2.0

Dependencies

CSS::Properties:ver<0.7.5+>Temp::PathLWP::SimpleURI:ver<0.3.3+>

Test Dependencies

Provides

  • CSS::Font::Resources
  • CSS::Font::Resources::Source
  • CSS::Font::Resources::Source::Local
  • CSS::Font::Resources::Source::Url
  • CSS::URI

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.