@jolie/http-utils

0.1.0 • Public • Published

Jolie HTTP utils

A utility library for HTTP.

Installation

jpm add @jolie/http-utils

Usage example

from @jolie.http-utils import HttpUtils

service Example {
	embed HttpUtils as httpUtils

	main {
		// Connect to the stream
		connectStream@httpUtils( {
			uri = "https://your-website"
		} )( sid )

		provide
			[ next( mesg ) ] {
				// Received a message in the stream
			}
		until
			[ end( m ) ] {
				// Stream ended
			}
	}
}

Readme

Keywords

Package Sidebar

Install

npm i @jolie/http-utils

Weekly Downloads

1

Version

0.1.0

License

LGPL 2.1

Unpacked Size

35.1 kB

Total Files

6

Last publish

Collaborators

  • kicito
  • fmontesi
  • bmaschio77
  • luis.antonio
  • thesave
  • klag