For HTTP headers it's quite straightforward: draft-nottingham-http-link-header defines this.
Link: <http://example.com/>; rel="previous"; titile="Previous chapter"
/* some suggestions on implementing hyperlinks in json */ | |
// 5988-style (http://tools.ietf.org/html/rfc5988) | |
{ "link" : | |
{ | |
"href" : "...", | |
"rel" : "...", | |
"hreflang" : "...", | |
"media" : "...", | |
"title" : "...", |
For HTTP headers it's quite straightforward: draft-nottingham-http-link-header defines this.
Link: <http://example.com/>; rel="previous"; titile="Previous chapter"
import { EventEmitter, Directive, Input, AfterViewInit, Output, OnDestroy } from '@angular/core'; | |
import { NgForm, FormGroup } from '@angular/forms'; | |
import { NgRedux } from '@angular-redux/store'; | |
import { fromJS, is } from 'immutable'; | |
import { AppState, ActionTypes } from '../store'; | |
import { Observable } from 'rxjs/Observable'; | |
import { Subject } from 'rxjs/Subject'; | |
function isSame(a: any, b: any) { | |
return is(fromJS(a), fromJS(b)); |