NAME

PAGI::FastAPI::Response - Base HTTP Response Class for PAGI::FastAPI

VERSION

Version v1.0.0

SYNOPSIS

use PAGI::FastAPI::Response;

my $res = PAGI::FastAPI::Response->new(
    body   => 'Plain text content',
    status => 200,
);

DESCRIPTION

PAGI::FastAPI::Response serves as the base class for specialised HTTP responses in PAGI::FastAPI (such as PAGI::FastAPI::Response::HTML and PAGI::FastAPI::Response::SSE).

SEE ALSO

PAGI::FastAPI::Response::HTML, PAGI::FastAPI::Response::SSE

AUTHOR

Mohammad Sajid Anwar, <mohammad.anwar at yahoo.com>

REPOSITORY

https://github.com/manwar/PAGI-FastAPI

BUGS

Please report any bugs or feature requests through the web interface at https://github.com/manwar/PAGI-FastAPI/issues. I will be notified and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc PAGI::FastAPI::Response

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright (C) 2026 Mohammad Sajid Anwar.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License (2.0).