http_ Derived Type

type, public :: http_


Contents


Components

TypeVisibility AttributesNameInitial
character(len=1000), public :: body ="Hello!"
character(len=1000), public :: token ="your_access_token"
character(len=100), public :: channel ="your_channel"
character(len=1000), public :: url ="url"

Type-Bound Procedures

procedure, public :: post => posthttp

  • public subroutine posthttp(obj)

    Arguments

    Type IntentOptional AttributesName
    class(http_), intent(in) :: obj

procedure, public :: get => gethttp

  • public subroutine gethttp(obj)

    Arguments

    Type IntentOptional AttributesName
    class(http_), intent(in) :: obj