唐尚文
225c110450
Update Endpoints.md
...
Fix typo.
2020-08-01 11:45:42 +08:00
Steven Deutsch
c472b2f83e
Remove Endpoint generics from docs
2018-01-26 00:53:47 -06:00
Wilson
7cc64d65cb
improve code style in docs
2017-10-27 14:11:24 +08:00
Wilson
c886c422aa
Fix code style issue for docs.
2017-10-27 14:06:27 +08:00
Łukasz Mróz
ab818de60b
Update docs around Encodable
2017-10-21 17:46:03 +02:00
Steven Deutsch
f1d5903a6e
[Docs] Update Endpoint.swift comments and Endpoints.md
2017-10-21 17:44:20 +02:00
Łukasz Mróz
9ef7864aa4
[Documentation] Update for removal of default arguments in Endpoint.init
2017-10-21 17:44:20 +02:00
Łukasz Mróz
4adf130dd3
[Documentation] Update Endpoints.md
2017-09-02 20:29:30 +02:00
Cihat Gündüz
9f2e49442d
Update docs with new task enum
2017-08-11 16:04:33 +02:00
Steven Deutsch
c29ee633ea
Update docs for URL(target:) initializer
2017-07-21 22:03:59 +02:00
Pedro Vereza
45298d511f
Updates docs with headers field
2017-07-21 20:01:07 +02:00
Bas Broek
30e7994a4c
Use consistent heading styles, fix indentation + spelling
2017-05-26 18:05:44 +02:00
Danny M
bd5f2189eb
Updated documentation.
2017-02-12 11:25:03 -05:00
Scott Hoyt
8a37df2d87
Replace instances of Moya.Error with MoyaError in documentation.
2017-01-02 17:05:43 -08:00
Bas Broek
f9cb69e84c
Update Endpoints.md
2016-11-29 07:01:57 +01:00
Maciek Czarnik
8f4ea9b922
One more DRY fix in sample code
2016-11-17 13:15:53 +01:00
Maciek Czarnik
05d1abd5b5
Use MoyaProvider.defaultEndpointMapping to DRY the sample code
2016-11-17 12:56:57 +01:00
Łukasz Mróz
15335835ce
[Documentation] Change reference line to the Alamofire documentation.
2016-10-08 17:24:39 +02:00
Łukasz Mróz
8fc5c0c127
[Documentation] Fix ParameterEncoding paragraph in Endpoints.md
2016-10-08 17:18:19 +02:00
Ash Furrow
08b3dcbbc2
Merge pull request #683 from Moya/swift3-documentation
...
Swift 3-ify documentation
2016-09-26 15:07:14 -04:00
Bas Broek
b0eeb197f5
Code-tag code
2016-09-26 19:37:40 +02:00
Fernando Paredes
ae5fb65bb6
[Docs] Change usage of endpointByAdding to adding
2016-09-26 08:42:53 -07:00
Fernando Paredes
b43428d2b2
[Docs] URLByAppendingPathComponent -> appendingPathComponent
2016-09-25 19:22:01 -07:00
Fernando Paredes
07bad87b17
[Docs] First pass converting to Swift 3 interface
2016-09-25 13:43:38 -07:00
Fernando Paredes
deb4460fd7
[Docs] Update enum usage to swift 3 idiom
...
Updates enum usage to match Swift 3 default of `Enum.camelCase`
2016-09-25 13:07:53 -07:00
Cheng-Yu Hsu
52e4b96df3
📚 Updated documentations
...
- Fix some typos
- Use American spellings
- Remove trailing whitespaces
- Fix invalid links to other `.md` files
2016-09-15 10:41:15 +08:00
Zsolt Váradi
ca8be19be1
Added comment about the forced type cast
2016-08-11 02:22:29 +03:00
Zsolt Váradi
a5390fbec3
Updated obsolete requestClosure syntax
2016-08-10 17:43:03 +03:00
filo
8806c07891
Added provider creation in mapping from Target to Endpoint
2016-08-06 18:25:29 +02:00
Nick Ager
d08c978163
added explicit url creation to endpoint closure doc
...
Replaced:
url(target)
with:
let url =
target.baseURL.URLByAppendingPathComponent(target.path).absoluteString
as the current distribution of Moya does not include `func url`.
Alternatively `func url` could perhaps be added to Moya as a helper
method, perhaps as an extension method e.g.:
```swift
/// Endpoint closure `url` helper
extension Endpoint {
public class func url(route: TargetType) -> String {
return
route.baseURL.URLByAppendingPathComponent(route.path).absoluteString
}
}
```
...which would remove some code duplication in the examples.
2016-06-14 12:54:58 +01:00
Prayer
6d1ca9dc34
remove unnecessary unwrap
2016-05-06 10:31:55 +08:00
Paldom
97f7af0636
Change .Underlying to NSError, add error handling docs
2016-05-04 18:09:24 +02:00
lowell!
6165ac63fc
Update Endpoints.md
...
Update Heimdallr URL due to project name change
https://github.com/rheinfabrik/Heimdallr.swift/commit/5ed4904cc14769fb6838d17aad10d7b76df9467a
2016-03-31 07:09:21 -07:00
Pierre-Marc Airoldi
1ceaa0f619
change protocol name to be *Type
...
Changes:
- **Breaking Change** rename `MoyaTarget` protocol to `TargetType`
- **Breaking Change** rename `MoyaRequest` protocol to `RequestType`
- **Breaking Change** rename `Plugin` protocol to `PluginType`
2015-11-27 11:29:24 -05:00
Greg Pardo
ba354fa0a2
Update Endpoints.md to fix endpointResolver typo
...
Also make wording a bit more clear by discussing the requestClosure first and then then how endpointClosure should not be used for the same purpose after.
2015-10-07 12:04:32 -04:00
Gunay Mert Karadogan
00d60d5b37
[Documentation] Fixes sample responses in Endpoints.md
2015-10-07 01:44:51 +03:00
Ash Furrow
34cc5a4a81
[Documentation] Added authentication docs.
2015-10-04 01:03:45 +02:00
Ash Furrow
57305b42ec
[Endpoint] All sample responses are now lazily evaluated.
2015-10-04 00:43:20 +02:00
Ash Furrow
4ab60702af
[Endpoint] Improves sample response nomenclature.
2015-10-04 00:25:32 +02:00
Ash Furrow
847bf33f76
[Endpoint Mapping] Makes asynchonous.
2015-09-21 23:21:53 -04:00
Vincent Esche
2d2abb1250
Fixed two small typos in Endpoints.md
2015-08-07 14:50:20 +02:00
Timm Preetz
9c711a4bd6
Fix link to Targets.md
2015-06-22 12:41:53 +02:00
Ash Furrow
89ef583311
Renamed endpointsClosure to endpointClosure.
2015-06-15 15:36:40 -04:00
Ash Furrow
3c0f47395c
Redefines types of DefaultEndpointMapping and DefaultEnpointResolution class functions.
2015-06-14 16:35:04 -04:00
Ash Furrow
584111bc5f
Uhh, a lot of stuff actually.
2015-05-26 19:43:48 -04:00