### ----------------------------------------------------
### -- HTTP::Roles
### -- Licenses: Artistic-2.0
### -- Authors: Tony O'Dell
### -- File: lib/HTTP/Response/Role.rakumod
### ----------------------------------------------------
use HTTP::Status;
my %status := HTTP::Status.Map;

role HTTP::Response::Role {
    has Int:D $.status is rw = 200;
    has %.headers is rw;
    has $.connection;
    has %.statuscodes = %status;

    method close($data?, :$force? = False) {*}
    method write($data) {*}
}

# vim: expandtab shiftwidth=4


