@gjsify/http-soup-bridge 0.26.1 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/http-soup-bridge",
3
- "version": "0.26.1",
3
+ "version": "0.27.0",
4
4
  "description": "Vala-based main-thread bridge for libsoup HTTP server. Marshals SoupServer + SoupServerMessage signals onto the GLib main context and keeps every libsoup boxed type (MessageBody, MessageHeaders, the message's GMainContext ref, the HTTP1 IO GSource) on the C side, so SpiderMonkey GC has no chance to race a libsoup-side cleanup. Used by @gjsify/http to keep MCP/SSE/long-poll workloads stable on GJS.",
5
5
  "type": "module",
6
6
  "main": "lib/esm/index.js",
@@ -14,7 +14,6 @@
14
14
  },
15
15
  "files": [
16
16
  "lib",
17
- "prebuilds",
18
17
  "meson.build",
19
18
  "src/vala"
20
19
  ],
@@ -25,9 +24,9 @@
25
24
  "linux-ppc64",
26
25
  "linux-s390x",
27
26
  "linux-riscv64",
28
- "darwin-arm64"
27
+ "darwin-arm64",
28
+ "darwin-x64"
29
29
  ],
30
- "prebuilds": "prebuilds",
31
30
  "runtimes": {
32
31
  "gjs": "polyfill",
33
32
  "node": "none",
@@ -37,7 +36,7 @@
37
36
  "tier": 1
38
37
  },
39
38
  "scripts": {
40
- "clear": "rm -rf lib build tsconfig.tsbuildinfo tsconfig.types.tsbuildinfo || exit 0",
39
+ "clear": "gjsify clear lib build tsconfig.tsbuildinfo tsconfig.types.tsbuildinfo",
41
40
  "check": "gjsify tsc --noEmit",
42
41
  "init:meson": "meson setup build .",
43
42
  "init:meson:wipe": "gjsify run init:meson --wipe",
@@ -45,7 +44,7 @@
45
44
  "build:gjsify": "gjsify build --library 'src/ts/**/*.{ts,js}'",
46
45
  "build:meson": "gjsify run init:meson && meson compile -C build",
47
46
  "build:types": "gjsify tsc",
48
- "build:gir-types": "ts-for-gir generate --externalDeps --allowMissingDeps --girDirectories=./prebuilds/linux-x64 --girDirectories=/usr/share/gir-1.0 --modules=GjsifyHttpSoupBridge-1.0 --outdir=src/ts --npmScope=@girs --package=false --ignoreVersionConflicts=true",
47
+ "build:gir-types": "ts-for-gir generate --externalDeps --allowMissingDeps --girDirectories=../http-soup-bridge-linux-x64/prebuilds/linux-x64 --girDirectories=/usr/share/gir-1.0 --modules=GjsifyHttpSoupBridge-1.0 --outdir=src/ts --npmScope=@girs --package=false --ignoreVersionConflicts=true",
49
48
  "build:prebuilds": "gjsify run build:meson && node ../../../scripts/stage-prebuild.mjs ."
50
49
  },
51
50
  "keywords": [
@@ -67,7 +66,7 @@
67
66
  "@girs/soup-3.0": "^4.1.0"
68
67
  },
69
68
  "devDependencies": {
70
- "@gjsify/cli": "^0.26.1",
69
+ "@gjsify/cli": "^0.27.0",
71
70
  "@ts-for-gir/cli": "^4.1.0",
72
71
  "@types/node": "^25.9.2",
73
72
  "typescript": "^6.0.3"
@@ -81,5 +80,14 @@
81
80
  "bugs": {
82
81
  "url": "https://github.com/gjsify/gjsify/issues"
83
82
  },
84
- "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/node/http-soup-bridge#readme"
83
+ "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/node/http-soup-bridge#readme",
84
+ "optionalDependencies": {
85
+ "@gjsify/http-soup-bridge-darwin-arm64": "0.27.0",
86
+ "@gjsify/http-soup-bridge-darwin-x64": "0.27.0",
87
+ "@gjsify/http-soup-bridge-linux-arm64": "0.27.0",
88
+ "@gjsify/http-soup-bridge-linux-ppc64": "0.27.0",
89
+ "@gjsify/http-soup-bridge-linux-riscv64": "0.27.0",
90
+ "@gjsify/http-soup-bridge-linux-s390x": "0.27.0",
91
+ "@gjsify/http-soup-bridge-linux-x64": "0.27.0"
92
+ }
85
93
  }
@@ -1,533 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!-- GjsifyHttpSoupBridge-1.0.gir generated by valac 0.56.19, do not modify. -->
3
- <repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:doc="http://www.gtk.org/introspection/doc/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
4
- <include name="GObject" version="2.0"/>
5
- <include name="Soup" version="3.0"/>
6
- <include name="Gio" version="2.0"/>
7
- <include name="GLib" version="2.0"/>
8
- <package name="gjsifyhttpsoupbridge"/>
9
- <c:include name="gjsifyhttpsoupbridge.h"/>
10
- <doc:format name="unknown"/>
11
- <namespace name="GjsifyHttpSoupBridge" version="1.0" shared-library="libgjsifyhttpsoupbridge.dylib" c:prefix="GjsifyHttpSoupBridge" c:identifier-prefixes="GjsifyHttpSoupBridge" c:symbol-prefixes="gjsify_http_soup_bridge">
12
- <class name="Response" c:type="GjsifyHttpSoupBridgeResponse" c:symbol-prefix="response" glib:type-name="GjsifyHttpSoupBridgeResponse" glib:get-type="gjsify_http_soup_bridge_response_get_type" glib:type-struct="ResponseClass" parent="GObject.Object">
13
- <field name="parent_instance" readable="0" private="1">
14
- <type name="GObject.Object" c:type="GObject"/>
15
- </field>
16
- <field name="priv" readable="0" private="1">
17
- <type name="ResponsePrivate" c:type="GjsifyHttpSoupBridgeResponsePrivate*"/>
18
- </field>
19
- <method name="set_header" c:identifier="gjsify_http_soup_bridge_response_set_header">
20
- <return-value transfer-ownership="full">
21
- <type name="none" c:type="void"/>
22
- </return-value>
23
- <parameters>
24
- <instance-parameter name="self" transfer-ownership="none">
25
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
26
- </instance-parameter>
27
- <parameter name="name" transfer-ownership="none">
28
- <type name="utf8" c:type="const gchar*"/>
29
- </parameter>
30
- <parameter name="value" transfer-ownership="none">
31
- <type name="utf8" c:type="const gchar*"/>
32
- </parameter>
33
- </parameters>
34
- </method>
35
- <method name="append_header" c:identifier="gjsify_http_soup_bridge_response_append_header">
36
- <return-value transfer-ownership="full">
37
- <type name="none" c:type="void"/>
38
- </return-value>
39
- <parameters>
40
- <instance-parameter name="self" transfer-ownership="none">
41
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
42
- </instance-parameter>
43
- <parameter name="name" transfer-ownership="none">
44
- <type name="utf8" c:type="const gchar*"/>
45
- </parameter>
46
- <parameter name="value" transfer-ownership="none">
47
- <type name="utf8" c:type="const gchar*"/>
48
- </parameter>
49
- </parameters>
50
- </method>
51
- <method name="remove_header" c:identifier="gjsify_http_soup_bridge_response_remove_header">
52
- <return-value transfer-ownership="full">
53
- <type name="none" c:type="void"/>
54
- </return-value>
55
- <parameters>
56
- <instance-parameter name="self" transfer-ownership="none">
57
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
58
- </instance-parameter>
59
- <parameter name="name" transfer-ownership="none">
60
- <type name="utf8" c:type="const gchar*"/>
61
- </parameter>
62
- </parameters>
63
- </method>
64
- <method name="get_header" c:identifier="gjsify_http_soup_bridge_response_get_header">
65
- <return-value transfer-ownership="full" nullable="1">
66
- <type name="utf8" c:type="gchar*"/>
67
- </return-value>
68
- <parameters>
69
- <instance-parameter name="self" transfer-ownership="none">
70
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
71
- </instance-parameter>
72
- <parameter name="name" transfer-ownership="none">
73
- <type name="utf8" c:type="const gchar*"/>
74
- </parameter>
75
- </parameters>
76
- </method>
77
- <method name="header_names" c:identifier="gjsify_http_soup_bridge_response_header_names">
78
- <return-value transfer-ownership="full">
79
- <array length="0" c:type="gchar**">
80
- <type name="utf8" c:type="gchar*"/>
81
- </array>
82
- </return-value>
83
- <parameters>
84
- <instance-parameter name="self" transfer-ownership="none">
85
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
86
- </instance-parameter>
87
- <parameter name="result_length1" direction="out" transfer-ownership="none">
88
- <type name="gint" c:type="gint*"/>
89
- </parameter>
90
- </parameters>
91
- </method>
92
- <method name="write_head" c:identifier="gjsify_http_soup_bridge_response_write_head">
93
- <return-value transfer-ownership="full">
94
- <type name="none" c:type="void"/>
95
- </return-value>
96
- <parameters>
97
- <instance-parameter name="self" transfer-ownership="none">
98
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
99
- </instance-parameter>
100
- <parameter name="code" transfer-ownership="none">
101
- <type name="guint" c:type="guint"/>
102
- </parameter>
103
- <parameter name="reason" transfer-ownership="none" nullable="1">
104
- <type name="utf8" c:type="const gchar*"/>
105
- </parameter>
106
- </parameters>
107
- </method>
108
- <method name="write_chunk" c:identifier="gjsify_http_soup_bridge_response_write_chunk">
109
- <return-value transfer-ownership="full">
110
- <type name="gboolean" c:type="gboolean"/>
111
- </return-value>
112
- <parameters>
113
- <instance-parameter name="self" transfer-ownership="none">
114
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
115
- </instance-parameter>
116
- <parameter name="chunk" transfer-ownership="none">
117
- <array length="1" c:type="guint8*">
118
- <type name="guint8" c:type="guint8"/>
119
- </array>
120
- </parameter>
121
- <parameter name="chunk_length1" transfer-ownership="none">
122
- <type name="gint" c:type="gint"/>
123
- </parameter>
124
- </parameters>
125
- </method>
126
- <method name="end" c:identifier="gjsify_http_soup_bridge_response_end">
127
- <return-value transfer-ownership="full">
128
- <type name="none" c:type="void"/>
129
- </return-value>
130
- <parameters>
131
- <instance-parameter name="self" transfer-ownership="none">
132
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
133
- </instance-parameter>
134
- </parameters>
135
- </method>
136
- <method name="end_with" c:identifier="gjsify_http_soup_bridge_response_end_with">
137
- <return-value transfer-ownership="full">
138
- <type name="none" c:type="void"/>
139
- </return-value>
140
- <parameters>
141
- <instance-parameter name="self" transfer-ownership="none">
142
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
143
- </instance-parameter>
144
- <parameter name="chunk" transfer-ownership="none">
145
- <array length="1" c:type="guint8*">
146
- <type name="guint8" c:type="guint8"/>
147
- </array>
148
- </parameter>
149
- <parameter name="chunk_length1" transfer-ownership="none">
150
- <type name="gint" c:type="gint"/>
151
- </parameter>
152
- </parameters>
153
- </method>
154
- <method name="abort" c:identifier="gjsify_http_soup_bridge_response_abort">
155
- <return-value transfer-ownership="full">
156
- <type name="none" c:type="void"/>
157
- </return-value>
158
- <parameters>
159
- <instance-parameter name="self" transfer-ownership="none">
160
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
161
- </instance-parameter>
162
- </parameters>
163
- </method>
164
- <property name="status-code" writable="1">
165
- <type name="guint" c:type="guint"/>
166
- </property>
167
- <method name="get_status_code" c:identifier="gjsify_http_soup_bridge_response_get_status_code">
168
- <return-value transfer-ownership="none">
169
- <type name="guint" c:type="guint"/>
170
- </return-value>
171
- <parameters>
172
- <instance-parameter name="self" transfer-ownership="none">
173
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
174
- </instance-parameter>
175
- </parameters>
176
- </method>
177
- <method name="set_status_code" c:identifier="gjsify_http_soup_bridge_response_set_status_code">
178
- <return-value transfer-ownership="none">
179
- <type name="none" c:type="void"/>
180
- </return-value>
181
- <parameters>
182
- <instance-parameter name="self" transfer-ownership="none">
183
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
184
- </instance-parameter>
185
- <parameter name="value" transfer-ownership="none">
186
- <type name="guint" c:type="guint"/>
187
- </parameter>
188
- </parameters>
189
- </method>
190
- <property name="status-message" writable="1">
191
- <type name="utf8" c:type="gchar*"/>
192
- </property>
193
- <method name="get_status_message" c:identifier="gjsify_http_soup_bridge_response_get_status_message">
194
- <return-value transfer-ownership="none">
195
- <type name="utf8" c:type="const gchar*"/>
196
- </return-value>
197
- <parameters>
198
- <instance-parameter name="self" transfer-ownership="none">
199
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
200
- </instance-parameter>
201
- </parameters>
202
- </method>
203
- <method name="set_status_message" c:identifier="gjsify_http_soup_bridge_response_set_status_message">
204
- <return-value transfer-ownership="none">
205
- <type name="none" c:type="void"/>
206
- </return-value>
207
- <parameters>
208
- <instance-parameter name="self" transfer-ownership="none">
209
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
210
- </instance-parameter>
211
- <parameter name="value" transfer-ownership="none">
212
- <type name="utf8" c:type="const gchar*"/>
213
- </parameter>
214
- </parameters>
215
- </method>
216
- <property name="headers-sent" writable="1">
217
- <type name="gboolean" c:type="gboolean"/>
218
- </property>
219
- <method name="get_headers_sent" c:identifier="gjsify_http_soup_bridge_response_get_headers_sent">
220
- <return-value transfer-ownership="none">
221
- <type name="gboolean" c:type="gboolean"/>
222
- </return-value>
223
- <parameters>
224
- <instance-parameter name="self" transfer-ownership="none">
225
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
226
- </instance-parameter>
227
- </parameters>
228
- </method>
229
- <property name="finished" writable="1">
230
- <type name="gboolean" c:type="gboolean"/>
231
- </property>
232
- <method name="get_finished" c:identifier="gjsify_http_soup_bridge_response_get_finished">
233
- <return-value transfer-ownership="none">
234
- <type name="gboolean" c:type="gboolean"/>
235
- </return-value>
236
- <parameters>
237
- <instance-parameter name="self" transfer-ownership="none">
238
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
239
- </instance-parameter>
240
- </parameters>
241
- </method>
242
- <property name="aborted" writable="1">
243
- <type name="gboolean" c:type="gboolean"/>
244
- </property>
245
- <method name="get_aborted" c:identifier="gjsify_http_soup_bridge_response_get_aborted">
246
- <return-value transfer-ownership="none">
247
- <type name="gboolean" c:type="gboolean"/>
248
- </return-value>
249
- <parameters>
250
- <instance-parameter name="self" transfer-ownership="none">
251
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
252
- </instance-parameter>
253
- </parameters>
254
- </method>
255
- <glib:signal name="close">
256
- <return-value transfer-ownership="full">
257
- <type name="none" c:type="void"/>
258
- </return-value>
259
- </glib:signal>
260
- <glib:signal name="drain">
261
- <return-value transfer-ownership="full">
262
- <type name="none" c:type="void"/>
263
- </return-value>
264
- </glib:signal>
265
- </class>
266
- <record name="ResponseClass" c:type="GjsifyHttpSoupBridgeResponseClass" glib:is-gtype-struct-for="Response">
267
- <field name="parent_class" readable="0" private="1">
268
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
269
- </field>
270
- </record>
271
- <record name="ResponsePrivate" c:type="GjsifyHttpSoupBridgeResponsePrivate" disguised="1"/>
272
- <class name="Request" c:type="GjsifyHttpSoupBridgeRequest" c:symbol-prefix="request" glib:type-name="GjsifyHttpSoupBridgeRequest" glib:get-type="gjsify_http_soup_bridge_request_get_type" glib:type-struct="RequestClass" parent="GObject.Object">
273
- <field name="parent_instance" readable="0" private="1">
274
- <type name="GObject.Object" c:type="GObject"/>
275
- </field>
276
- <field name="priv" readable="0" private="1">
277
- <type name="RequestPrivate" c:type="GjsifyHttpSoupBridgeRequestPrivate*"/>
278
- </field>
279
- <method name="get_body" c:identifier="gjsify_http_soup_bridge_request_get_body">
280
- <return-value transfer-ownership="full">
281
- <array length="0" c:type="guint8*">
282
- <type name="guint8" c:type="guint8"/>
283
- </array>
284
- </return-value>
285
- <parameters>
286
- <instance-parameter name="self" transfer-ownership="none">
287
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
288
- </instance-parameter>
289
- <parameter name="result_length1" direction="out" transfer-ownership="none">
290
- <type name="gint" c:type="gint*"/>
291
- </parameter>
292
- </parameters>
293
- </method>
294
- <property name="method" writable="1">
295
- <type name="utf8" c:type="gchar*"/>
296
- </property>
297
- <method name="get_method" c:identifier="gjsify_http_soup_bridge_request_get_method">
298
- <return-value transfer-ownership="none">
299
- <type name="utf8" c:type="const gchar*"/>
300
- </return-value>
301
- <parameters>
302
- <instance-parameter name="self" transfer-ownership="none">
303
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
304
- </instance-parameter>
305
- </parameters>
306
- </method>
307
- <property name="url" writable="1">
308
- <type name="utf8" c:type="gchar*"/>
309
- </property>
310
- <method name="get_url" c:identifier="gjsify_http_soup_bridge_request_get_url">
311
- <return-value transfer-ownership="none">
312
- <type name="utf8" c:type="const gchar*"/>
313
- </return-value>
314
- <parameters>
315
- <instance-parameter name="self" transfer-ownership="none">
316
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
317
- </instance-parameter>
318
- </parameters>
319
- </method>
320
- <property name="remote-address" writable="1">
321
- <type name="utf8" c:type="gchar*"/>
322
- </property>
323
- <method name="get_remote_address" c:identifier="gjsify_http_soup_bridge_request_get_remote_address">
324
- <return-value transfer-ownership="none">
325
- <type name="utf8" c:type="const gchar*"/>
326
- </return-value>
327
- <parameters>
328
- <instance-parameter name="self" transfer-ownership="none">
329
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
330
- </instance-parameter>
331
- </parameters>
332
- </method>
333
- <property name="remote-port" writable="1">
334
- <type name="guint" c:type="guint"/>
335
- </property>
336
- <method name="get_remote_port" c:identifier="gjsify_http_soup_bridge_request_get_remote_port">
337
- <return-value transfer-ownership="none">
338
- <type name="guint" c:type="guint"/>
339
- </return-value>
340
- <parameters>
341
- <instance-parameter name="self" transfer-ownership="none">
342
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
343
- </instance-parameter>
344
- </parameters>
345
- </method>
346
- <property name="header-pairs" writable="1">
347
- <array c:type="gchar**">
348
- <type name="utf8" c:type="gchar*"/>
349
- </array>
350
- </property>
351
- <method name="get_header_pairs" c:identifier="gjsify_http_soup_bridge_request_get_header_pairs">
352
- <return-value transfer-ownership="none">
353
- <array length="0" c:type="gchar**">
354
- <type name="utf8" c:type="gchar*"/>
355
- </array>
356
- </return-value>
357
- <parameters>
358
- <instance-parameter name="self" transfer-ownership="none">
359
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
360
- </instance-parameter>
361
- <parameter name="result_length1" direction="out" transfer-ownership="none">
362
- <type name="gint" c:type="gint*"/>
363
- </parameter>
364
- </parameters>
365
- </method>
366
- <property name="aborted" writable="1">
367
- <type name="gboolean" c:type="gboolean"/>
368
- </property>
369
- <method name="get_aborted" c:identifier="gjsify_http_soup_bridge_request_get_aborted">
370
- <return-value transfer-ownership="none">
371
- <type name="gboolean" c:type="gboolean"/>
372
- </return-value>
373
- <parameters>
374
- <instance-parameter name="self" transfer-ownership="none">
375
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
376
- </instance-parameter>
377
- </parameters>
378
- </method>
379
- <glib:signal name="aborted-signal">
380
- <return-value transfer-ownership="full">
381
- <type name="none" c:type="void"/>
382
- </return-value>
383
- </glib:signal>
384
- <glib:signal name="close">
385
- <return-value transfer-ownership="full">
386
- <type name="none" c:type="void"/>
387
- </return-value>
388
- </glib:signal>
389
- </class>
390
- <record name="RequestClass" c:type="GjsifyHttpSoupBridgeRequestClass" glib:is-gtype-struct-for="Request">
391
- <field name="parent_class" readable="0" private="1">
392
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
393
- </field>
394
- </record>
395
- <record name="RequestPrivate" c:type="GjsifyHttpSoupBridgeRequestPrivate" disguised="1"/>
396
- <class name="Server" c:type="GjsifyHttpSoupBridgeServer" c:symbol-prefix="server" glib:type-name="GjsifyHttpSoupBridgeServer" glib:get-type="gjsify_http_soup_bridge_server_get_type" glib:type-struct="ServerClass" parent="GObject.Object">
397
- <field name="parent_instance" readable="0" private="1">
398
- <type name="GObject.Object" c:type="GObject"/>
399
- </field>
400
- <field name="priv" readable="0" private="1">
401
- <type name="ServerPrivate" c:type="GjsifyHttpSoupBridgeServerPrivate*"/>
402
- </field>
403
- <method name="listen" c:identifier="gjsify_http_soup_bridge_server_listen" throws="1">
404
- <return-value transfer-ownership="full">
405
- <type name="none" c:type="void"/>
406
- </return-value>
407
- <parameters>
408
- <instance-parameter name="self" transfer-ownership="none">
409
- <type name="GjsifyHttpSoupBridge.Server" c:type="GjsifyHttpSoupBridgeServer*"/>
410
- </instance-parameter>
411
- <parameter name="port_arg" transfer-ownership="none">
412
- <type name="guint" c:type="guint"/>
413
- </parameter>
414
- <parameter name="hostname" transfer-ownership="none">
415
- <type name="utf8" c:type="const gchar*"/>
416
- </parameter>
417
- </parameters>
418
- </method>
419
- <method name="close" c:identifier="gjsify_http_soup_bridge_server_close">
420
- <return-value transfer-ownership="full">
421
- <type name="none" c:type="void"/>
422
- </return-value>
423
- <parameters>
424
- <instance-parameter name="self" transfer-ownership="none">
425
- <type name="GjsifyHttpSoupBridge.Server" c:type="GjsifyHttpSoupBridgeServer*"/>
426
- </instance-parameter>
427
- </parameters>
428
- </method>
429
- <constructor name="new" c:identifier="gjsify_http_soup_bridge_server_new">
430
- <return-value transfer-ownership="full">
431
- <type name="GjsifyHttpSoupBridge.Server" c:type="GjsifyHttpSoupBridgeServer*"/>
432
- </return-value>
433
- </constructor>
434
- <property name="port" writable="1">
435
- <type name="guint" c:type="guint"/>
436
- </property>
437
- <method name="get_port" c:identifier="gjsify_http_soup_bridge_server_get_port">
438
- <return-value transfer-ownership="none">
439
- <type name="guint" c:type="guint"/>
440
- </return-value>
441
- <parameters>
442
- <instance-parameter name="self" transfer-ownership="none">
443
- <type name="GjsifyHttpSoupBridge.Server" c:type="GjsifyHttpSoupBridgeServer*"/>
444
- </instance-parameter>
445
- </parameters>
446
- </method>
447
- <property name="address" writable="1">
448
- <type name="utf8" c:type="gchar*"/>
449
- </property>
450
- <method name="get_address" c:identifier="gjsify_http_soup_bridge_server_get_address">
451
- <return-value transfer-ownership="none">
452
- <type name="utf8" c:type="const gchar*"/>
453
- </return-value>
454
- <parameters>
455
- <instance-parameter name="self" transfer-ownership="none">
456
- <type name="GjsifyHttpSoupBridge.Server" c:type="GjsifyHttpSoupBridgeServer*"/>
457
- </instance-parameter>
458
- </parameters>
459
- </method>
460
- <property name="listening" writable="1">
461
- <type name="gboolean" c:type="gboolean"/>
462
- </property>
463
- <method name="get_listening" c:identifier="gjsify_http_soup_bridge_server_get_listening">
464
- <return-value transfer-ownership="none">
465
- <type name="gboolean" c:type="gboolean"/>
466
- </return-value>
467
- <parameters>
468
- <instance-parameter name="self" transfer-ownership="none">
469
- <type name="GjsifyHttpSoupBridge.Server" c:type="GjsifyHttpSoupBridgeServer*"/>
470
- </instance-parameter>
471
- </parameters>
472
- </method>
473
- <property name="soup-server" writable="1">
474
- <type name="Soup.Server" c:type="SoupServer*"/>
475
- </property>
476
- <method name="get_soup_server" c:identifier="gjsify_http_soup_bridge_server_get_soup_server">
477
- <return-value transfer-ownership="none">
478
- <type name="Soup.Server" c:type="SoupServer*"/>
479
- </return-value>
480
- <parameters>
481
- <instance-parameter name="self" transfer-ownership="none">
482
- <type name="GjsifyHttpSoupBridge.Server" c:type="GjsifyHttpSoupBridgeServer*"/>
483
- </instance-parameter>
484
- </parameters>
485
- </method>
486
- <glib:signal name="request-received">
487
- <return-value transfer-ownership="full">
488
- <type name="none" c:type="void"/>
489
- </return-value>
490
- <parameters>
491
- <parameter name="req" transfer-ownership="none">
492
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
493
- </parameter>
494
- <parameter name="res" transfer-ownership="none">
495
- <type name="GjsifyHttpSoupBridge.Response" c:type="GjsifyHttpSoupBridgeResponse*"/>
496
- </parameter>
497
- </parameters>
498
- </glib:signal>
499
- <glib:signal name="upgrade">
500
- <return-value transfer-ownership="full">
501
- <type name="none" c:type="void"/>
502
- </return-value>
503
- <parameters>
504
- <parameter name="req" transfer-ownership="none">
505
- <type name="GjsifyHttpSoupBridge.Request" c:type="GjsifyHttpSoupBridgeRequest*"/>
506
- </parameter>
507
- <parameter name="iostream" transfer-ownership="none">
508
- <type name="Gio.IOStream" c:type="GIOStream*"/>
509
- </parameter>
510
- <parameter name="head" transfer-ownership="none">
511
- <type name="GLib.Bytes" c:type="GBytes*"/>
512
- </parameter>
513
- </parameters>
514
- </glib:signal>
515
- <glib:signal name="error-occurred">
516
- <return-value transfer-ownership="full">
517
- <type name="none" c:type="void"/>
518
- </return-value>
519
- <parameters>
520
- <parameter name="message" transfer-ownership="none">
521
- <type name="utf8" c:type="const gchar*"/>
522
- </parameter>
523
- </parameters>
524
- </glib:signal>
525
- </class>
526
- <record name="ServerClass" c:type="GjsifyHttpSoupBridgeServerClass" glib:is-gtype-struct-for="Server">
527
- <field name="parent_class" readable="0" private="1">
528
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
529
- </field>
530
- </record>
531
- <record name="ServerPrivate" c:type="GjsifyHttpSoupBridgeServerPrivate" disguised="1"/>
532
- </namespace>
533
- </repository>
File without changes