HTTPCLass Module


Uses


Contents


Derived Types

type, public :: http_

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
procedure, public :: get => gethttp

Subroutines

public subroutine posthttp(obj)

Arguments

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

public subroutine gethttp(obj)

Arguments

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