Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Network Layer Abstraction
Search
Swift India
February 29, 2020
Technology
180
0
Share
Network Layer Abstraction
Swift India
February 29, 2020
More Decks by Swift India
See All by Swift India
Efficient JSON to Object Parsing
swiftindia
0
150
Sign In with Apple
swiftindia
0
150
Furlenco's AR Journey
swiftindia
0
140
Image processing using Core Image and Metal
swiftindia
0
240
Combine - Diving into Apple’s Reactive Programming
swiftindia
1
270
Social in Hotstar
swiftindia
0
260
Improving App Launch Time
swiftindia
1
130
Backend Driven UIs
swiftindia
0
150
Introduction to AsyncDisplayKit / Texture
swiftindia
0
180
Other Decks in Technology
See All in Technology
Zephyr(RTOS)でOpenPLCを実装してみた
iotengineer22
0
180
JSTQB Expert Levelシラバス「テストマネジメント」日本語版のご紹介
ymty
0
100
Even G2 クイックスタートガイド(日本語版)
vrshinobi1
0
180
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
3
2.1k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
890
20260326_AIDD事例紹介_ULSC.pdf
findy_eventslides
0
320
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
遊びで始めたNew Relic MCP、気づいたらChatOpsなオブザーバビリティボットができてました/From New Relic MCP to a ChatOps Observability Bot
aeonpeople
1
150
OCI技術資料 : ロード・バランサ 概要 - FLB・NLB共通
ocise
4
27k
最大のアウトプット術は問題を作ること
ryoaccount
0
250
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
240
Featured
See All Featured
Done Done
chrislema
186
16k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Marketing to machines
jonoalderson
1
5.1k
Odyssey Design
rkendrick25
PRO
2
560
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
510
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
870
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
250
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Chasing Engaging Ingredients in Design
codingconduct
0
160
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
Transcript
Rakesh Chander - Comviva Technologies NETWORK LAYER ABSTRACTION • Interceptors
• Validators • Dependency Injection
Rakesh Chander - Comviva Technologies Problem Statement – Common Request
/ Response operations – Serialization / Deserialization – Bearer Token Management – End to End Encryption – Testable Code
Rakesh Chander - Comviva Technologies Unfolding – Common code templates
& patterns – Generics – Abstraction – Over-riding behavior – Dependency Injection
Rakesh Chander - Comviva Technologies Interceptors ▪ Interceptors are a
powerful mechanism that can pre-process or post-process a request
Rakesh Chander - Comviva Technologies Interceptors (Request Header Definition)
Rakesh Chander - Comviva Technologies Interceptors (Request Body Definition)
Rakesh Chander - Comviva Technologies Interceptors (Response Body Definition)
Rakesh Chander - Comviva Technologies Interceptors (Usage)
Rakesh Chander - Comviva Technologies Validators ▪ Serialization / Deserialization
▪ Fallback Mechanism ▪ Common Error Generation ▪ Bearer Token Management
Rakesh Chander - Comviva Technologies Adoption ▪ API call can
be declared using structs, its simple ▪ Implement Protocols for required Request Type viz GET, POST, PUT, DELETE etc
Rakesh Chander - Comviva Technologies Adoption (Overriding defaults)
Rakesh Chander - Comviva Technologies Adoption (Execution)
Rakesh Chander - Comviva Technologies Conclusion ▪ Increased Productivity ▪
Lesser error scenarios
Rakesh Chander - Comviva Technologies Dependency Injection ▪ Multiple Network
Clients ▪ Unit Tests
Rakesh Chander - Comviva Technologies Dependency Injection (Network Client Implementation)
Rakesh Chander - Comviva Technologies Dependency Injection (Network Client Mock)
Rakesh Chander - Comviva Technologies Summary Scalable, Maintainable, Reusable &
Testable Interceptors – Wrappers, Parsers, End to End Encryption Validators – Serialization/ Deserialization, Fallback Response DAO, Token Management
Rakesh Chander - Comviva Technologies Try It Out! ▪ https://github.com/rakeshchander/RCNetworkClient