class Awscr::Signer::V4::Uri

Overview

A Uri

uri = Uri.new(::URI.parse("/"))
uri.path

Defined in:

awscr-signer/v4/uri.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(path : String) #

The path must be non encoded.


[View source]
def self.new(uri : URI) #

The path must be non encoded.


[View source]

Class Method Detail

def self.encode(path : String) #

[View source]

Instance Method Detail

def host #

Returns the host of the UI


[View source]
def path #

Returns path of the Uri, normalizes the path, and encode the path as required by version 4


[View source]
def to_s(io : IO) #

Returns the uri encoded


[View source]