d8491bed1d
Make Client an interface instead of a struct
...
This makes it easier to maintain per-institution hacks that start
interacting with each other if you try to do them all in the same client
code. This commit also breaks out the existing Vanguard hack into its
own Client implementation.
2018-10-03 10:18:54 -04:00
94a77ac754
Add BasicClient, update Client to be interface
...
This paves the way for more easily implementing different clients for
different financial institutions
2018-10-02 20:55:25 -04:00
88e5521348
client.go: remove unused defaultClient var
2018-10-02 20:33:33 -04:00
1cc508c6d3
Don't export Client's rawRequestCookies method
...
It is used to fix bad behavior and should not be exposed
2018-10-02 20:20:07 -04:00
fa72af4f6c
client: Retry HTTP requests for empty responses with cookies
...
This works around a particular FI's penchant for JSESSIONID cookies
2017-09-01 08:41:15 -04:00
0eba6741f2
Make the OFX spec version an 'enum'
2017-04-17 10:54:20 -04:00
f64d19ed8d
client: golint
2017-04-16 20:38:56 -04:00
cc90da4ed1
s/Id/ID/
2017-04-12 21:40:42 -04:00
47f1b82c0b
Check HTTPS is always used
2017-04-01 21:33:56 -04:00
119c01f99b
Make setting request fields from Client a Request method
...
This also makes it possible to call this method for testing without
making an HTTP request.
2017-03-29 08:56:35 -04:00
753249c16e
client: Add RequestNoParse()
2017-03-22 19:56:59 -04:00
bd10b644a9
Improve comments
2017-03-17 21:36:20 -04:00
add6036729
Move client to own file
2017-03-16 19:31:26 -04:00