LiveRSS.HTTP (liverss v0.1.0)

This module defines functions to make HTTP requests.

Link to this section Summary

Functions

Returns a %FeederEx.Feed{} struct from a RSS feed URL. Returns {:ok, %FeederEx.Feed{}} or logs the error returning :error.

Link to this section Functions

@spec get(String.t()) ::
  {:ok,
   %FeederEx.Feed{
     author: term(),
     entries: term(),
     id: term(),
     image: term(),
     language: term(),
     link: term(),
     subtitle: term(),
     summary: term(),
     title: term(),
     updated: term(),
     url: term()
   }}
  | :error

Returns a %FeederEx.Feed{} struct from a RSS feed URL. Returns {:ok, %FeederEx.Feed{}} or logs the error returning :error.