- Author Abdul Habra
A library to simplify network programming. Currently, it has email and http utilities.
Classes in this package help with sending emails
The main email class. It has properties to configure email's client for sending.
Type of email to be sent: text, text with attachments, or html with attachments.
General email related methods.
Validate that the given address is a syntactically valid email address. It does not check if the address actually exists. Returns null/empty if the address is valid, else returns the text of the error message.
Classes to help with http interactions.
Note that some classes names have Htp
prefix with a single t,
this is intentional to help users with importing the right class, when
other libraries have similarly named classes
Simplify Establishing and sending requests over HTTP or HTTPS, utilizing a fluent API.
Different supported media types like text, html, json, ...
Encapsulates an HTTP request.
Contains the response for an HTTP request.
Check if given path starts with http
or https
Do a simple HTTP get for the given path and return the response as a string
Abstracts request's parameters
Parse a url string or convert to a URL
object.
- 2021.09.29 First public release
- 2021.12.06 Version 0.1.0. Make HtpRequest a builder.