Repository navigation
Commit 701ddf2
committed
chore(client/conn):
users of the `backports` feature that are attempting to migrate from
0.14 to 1.0 may need to convert from a legacy `SendRequest` (returned
by some of the connector builders) to an instance of the new protocol
specific `conn::http2::SendRequest<B>` or
`conn::http1::SendRequest<B>` senders.
this adds `From<T>` implementation to the type provided by the
`backports` feature, to help facilitate incremental migration.
Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>SendRequest conversion glue1 parent 9655084 commit 701ddf2
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
253 | 261 | | |
254 | 262 | | |
255 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
191 | 201 | | |
192 | 202 | | |
193 | 203 | | |
| |||
0 commit comments