NAME

App::MonM::Checkit::HTTP - Checkit HTTP subclass

VIRSION

Version 1.00

SYNOPSIS

    <Checkit "foo">
        Enable  yes
        Type    http
        URL     http://www.example.com
        Method  GET
        TimeOut 180
        Target  code
        IsTrue  200
        Content "Blah-Blah-Blah"
        Set     X-Foo foo
        Set     X-Bar bar

        # . . .

    </Checkit>

DESCRIPTION

Checkit HTTP subclass

check

Checkit method. This is backend method of "check" in App::MonM::Checkit

Returns:

code

The HTTP response code: 1xx, 2xx, 3xx, 4xx, 5xx or 0

content

The response content

message

The HTTP response status line

source

Method and URL of request

status

0 if error occured and if code is 4xx or 5xx

1 if no errors and if code is 1xx, 2xx or 3xx

HISTORY

See Changes file

TO DO

See TODO file

BUGS

* none noted

SEE ALSO

App::MonM

AUTHOR

Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/