Commit Graph

19 Commits

Author SHA1 Message Date
John Beisley
16c9ddb4ff Fix broken envelope test. 2022-06-10 18:13:54 +01:00
John Beisley
656e810e54 Integrate soap.Action type with soap/client. 2022-06-10 17:54:04 +01:00
John Beisley
91c176e495 Add action container structs with descriptor methods. 2022-06-08 17:53:24 +01:00
John Beisley
e3e16da35f Initial code to generate service code. 2022-06-06 18:00:39 +01:00
John Beisley
cc75a26e13 Test and fix edge cases in map args. 2022-03-31 19:54:33 +01:00
John Beisley
f69c4d0ee2 First draft supporting maps as action args. 2022-03-31 18:09:53 +01:00
John Beisley
5d0813cf55 Rearrange Client.as a helper function.
This narrows the API surface of the `Client` type.
2022-03-29 07:36:18 +01:00
John Beisley
ca91893cc0 Fix breakage from merge. 2022-03-26 18:27:03 +00:00
John Beisley
5c7f90426b Merge branch 'main' of github.com:huin/goupnp into main 2022-03-26 18:22:02 +00:00
John Beisley
767078168a Clean up SOAP client API. 2022-03-26 18:17:39 +00:00
John Beisley
d4fdaef967 Fix how envelopes are marshalled and unmarshalled.
Previously the arguments would be wrapped an additional XML element.
2022-03-26 18:17:06 +00:00
John Beisley
87f0bd1614 Use envelope.NewAction in client_test. 2022-03-26 11:22:07 +00:00
John Beisley
cd9f2cabb7 Add type assertion for client.HttpClient. 2022-03-26 11:19:07 +00:00
John Beisley
030c9c12ee Add omitted TestStructWrapped test for URIField. 2022-03-26 11:10:48 +00:00
John Beisley
f9b2a90864 Add types TestStructWrapped. 2022-03-26 10:55:00 +00:00
John Beisley
22e29aa8ba Add envelope.NewAction. 2022-03-26 10:29:10 +00:00
John Beisley
c43feb1f5a Add ErrFault error marker. 2022-03-26 08:33:56 +00:00
John Beisley
25f9eb3415 Use any instead of interface{} in v2alpha. 2022-03-26 08:05:43 +00:00
John Beisley
59a727e571 Rename v2 to v2alpha.
Any incremental development on this should be clearly labeled as
unstable.
2022-03-24 19:46:39 +00:00